aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/cache_lib.h
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>2009-11-03 11:45:11 -0600
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2010-08-09 10:33:04 -0500
commitc43f7b8fb03be8bcc579bfc4e6ab70eac887ab55 (patch)
treeec4f169d9260b78ef93e39c554fc32532b399b18 /fs/nfs/cache_lib.h
parenta1275c3b21e433888994f7b979cd1129d384ec9c (diff)
downloadkernel_samsung_tuna-c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55.zip
kernel_samsung_tuna-c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55.tar.gz
kernel_samsung_tuna-c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55.tar.bz2
eCryptfs: Handle ioctl calls with unlocked and compat functions
Lower filesystems that only implemented unlocked_ioctl weren't being passed ioctl calls because eCryptfs only checked for lower_file->f_op->ioctl and returned -ENOTTY if it was NULL. eCryptfs shouldn't implement ioctl(), since it doesn't require the BKL. This patch introduces ecryptfs_unlocked_ioctl() and ecryptfs_compat_ioctl(), which passes the calls on to the lower file system. https://bugs.launchpad.net/ecryptfs/+bug/469664 Reported-by: James Dupin <james.dupin@gmail.com> Cc: stable@kernel.org Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/nfs/cache_lib.h')
0 files changed, 0 insertions, 0 deletions