cifs: add check for kmalloc in parse_dacl
authorStanislav Fomichev <kernel@fomichev.me>
Sat, 5 Feb 2011 23:05:28 +0000 (02:05 +0300)
committerSteve French <sfrench@us.ibm.com>
Sun, 6 Feb 2011 00:36:23 +0000 (00:36 +0000)
commit8132b65bc6ce6d9a4baafdfc28c7cd9c258ed6e4
tree4cd9821416932e264dfeb0d472fcb23aa0e20032
parent247ec9b418ba50c9022280035330059364d54540
cifs: add check for kmalloc in parse_dacl

Exit from parse_dacl if no memory returned from the call to kmalloc.

Signed-off-by: Stanislav Fomichev <kernel@fomichev.me>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsacl.c