]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ecryptfs: fix error code for missing xattrs in lower fs
authorChristian Pulvermacher <pulvermacher@gmx.de>
Tue, 23 Mar 2010 16:51:38 +0000 (11:51 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:33 +0000 (07:41 -0700)
commit328851d3f993704cb61a74cdf8af88d987302812
tree6a08f82b375b6ee1d5a3a9fb6359a9c1610a7645
parent0bee0a7baf562b6094b1da266c46ec0acec5d7e6
ecryptfs: fix error code for missing xattrs in lower fs

commit cfce08c6bdfb20ade979284e55001ca1f100ed51 upstream.

If the lower file system driver has extended attributes disabled,
ecryptfs' own access functions return -ENOSYS instead of -EOPNOTSUPP.
This breaks execution of programs in the ecryptfs mount, since the
kernel expects the latter error when checking for security
capabilities in xattrs.

Signed-off-by: Christian Pulvermacher <pulvermacher@gmx.de>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ecryptfs/inode.c