aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/file.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-27 17:58:51 -0500
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-02-07 14:33:58 -0500
commitbaab81fa518ecfac597402b462631f5593926623 (patch)
treede6339ce964d91959a93401117992df409280812 /fs/jfs/file.c
parent0afc2edfada50980bec999f94dcea26ebad3dda6 (diff)
BKL-removal: Use unlocked_ioctl for jfs
Convert jfs_ioctl over to not use the BKL. The only potential race I could see was with two ioctls in parallel changing the flags and losing the updates. Use the i_mutex to protect against this. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 87eb93694af7..713ff4c2f807 100644
--- a/fs/jfs/file.c
+++ b/fs/jfs/file.c
@@ -112,5 +112,5 @@ const struct file_operations jfs_file_operations = {
112 .splice_write = generic_file_splice_write, 112 .splice_write = generic_file_splice_write,
113 .fsync = jfs_fsync, 113 .fsync = jfs_fsync,
114 .release = jfs_release, 114 .release = jfs_release,
115 .ioctl = jfs_ioctl, 115 .unlocked_ioctl = jfs_ioctl,
116}; 116};