summaryrefslogtreecommitdiff
path: root/fs/jfs/namei.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-27 17:02:02 -0600
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-02-07 13:45:29 -0600
commitef1fc2f01e02951a0d8520ec3aa0b38606d74b55 (patch)
tree463a76f46af50169643ed5c1f5c7a6060e26bbaa /fs/jfs/namei.c
parentbaab81fa518ecfac597402b462631f5593926623 (diff)
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 'fs/jfs/namei.c')
-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)