summaryrefslogtreecommitdiffstats
path: root/fs/jfs/namei.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-28 00:02:02 +0100
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-02-07 20:45:29 +0100
commitef1fc2f01e02951a0d8520ec3aa0b38606d74b55 (patch)
tree463a76f46af50169643ed5c1f5c7a6060e26bbaa /fs/jfs/namei.c
parentBKL-removal: Use unlocked_ioctl for jfs (diff)
downloadlinux-ef1fc2f01e02951a0d8520ec3aa0b38606d74b55.tar.xz
linux-ef1fc2f01e02951a0d8520ec3aa0b38606d74b55.zip
BKL-removal: Implement a compat_ioctl handler for JFS
The ioctls were already compatible except for the actual values so this was fairly easy to do. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to '')
-rw-r--r--fs/jfs/namei.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index 6440904a051c..0ba6778edaa2 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -1557,6 +1557,9 @@ const struct file_operations jfs_dir_operations = {
.readdir = jfs_readdir,
.fsync = jfs_fsync,
.unlocked_ioctl = jfs_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = jfs_compat_ioctl,
+#endif
};
static int jfs_ci_hash(struct dentry *dir, struct qstr *this)