diff options
author | Andi Kleen <ak@suse.de> | 2008-01-28 00:02:02 +0100 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2008-02-07 20:45:29 +0100 |
commit | ef1fc2f01e02951a0d8520ec3aa0b38606d74b55 (patch) | |
tree | 463a76f46af50169643ed5c1f5c7a6060e26bbaa /fs/jfs/namei.c | |
parent | BKL-removal: Use unlocked_ioctl for jfs (diff) | |
download | linux-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 'fs/jfs/namei.c')
-rw-r--r-- | fs/jfs/namei.c | 3 |
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) |