summaryrefslogtreecommitdiff
path: root/fs/jfs/file.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/file.c
parentbaab81fa518ecfac597402b462631f5593926623 (diff)
downloadlinux-3.10-ef1fc2f01e02951a0d8520ec3aa0b38606d74b55.tar.gz
linux-3.10-ef1fc2f01e02951a0d8520ec3aa0b38606d74b55.tar.bz2
linux-3.10-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/file.c')
-rw-r--r--fs/jfs/file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 713ff4c2f80..7f6063acaa3 100644
--- a/fs/jfs/file.c
+++ b/fs/jfs/file.c
@@ -113,4 +113,7 @@ const struct file_operations jfs_file_operations = {
.fsync = jfs_fsync,
.release = jfs_release,
.unlocked_ioctl = jfs_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = jfs_compat_ioctl,
+#endif
};