From: Daniel J Blueman Date: Tue, 3 May 2011 16:44:13 +0000 (+0000) Subject: Prevent oopsing in posix_acl_valid() X-Git-Tag: v2.6.39~21^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5de93914983bf04b92a786d1d205286fc53b49b;p=pandora-kernel.git Prevent oopsing in posix_acl_valid() If posix_acl_from_xattr() returns an error code, a negative address is dereferenced causing an oops; fix by checking for error code first. Signed-off-by: Daniel J Blueman Reviewed-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed