Home
last modified time | relevance | path

Searched hist:c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ecryptfs/
H A Dfile.cdiff c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55 Tue Nov 03 11:45:11 CST 2009 Tyler Hicks <tyhicks@linux.vnet.ibm.com> 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>