summaryrefslogtreecommitdiffstats
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-04-29 22:03:54 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-04-29 22:03:54 -0400
commit5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640 (patch)
treec2146662517bbd22377a54d1487e202d86dde6db /fs/ext4/file.c
parent161e7b7c1d24112d188df9a7b30d468a8d135b96 (diff)
downloadblackbird-op-linux-5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640.tar.gz
blackbird-op-linux-5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640.zip
Convert ext4 to use unlocked_ioctl
I checked ext4_ioctl and it looked largely safe to not be used without BKL. So convert it over to unlocked_ioctl. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/file.c')
-rw-r--r--fs/ext4/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index ac35ec58db55..20507a24506a 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -129,7 +129,7 @@ const struct file_operations ext4_file_operations = {
.write = do_sync_write,
.aio_read = generic_file_aio_read,
.aio_write = ext4_file_write,
- .ioctl = ext4_ioctl,
+ .unlocked_ioctl = ext4_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = ext4_compat_ioctl,
#endif
OpenPOWER on IntegriCloud