summaryrefslogtreecommitdiffstats
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-06-16 19:35:01 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2009-06-17 06:36:35 +0200
commitfe36adf47eb1f7f4972559efa30ce3d2d3f977f2 (patch)
tree27acbe8377f0d4a0f192daa8943c5289ac3d503d /fs/ioctl.c
parentremove unlock_kernel() left accidentally (diff)
downloadlinux-fe36adf47eb1f7f4972559efa30ce3d2d3f977f2.tar.xz
linux-fe36adf47eb1f7f4972559efa30ce3d2d3f977f2.zip
No instance of ->bmap() needs BKL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ioctl.c')
-rw-r--r--fs/ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ioctl.c b/fs/ioctl.c
index 286f38dfc6c0..001f8d3118f2 100644
--- a/fs/ioctl.c
+++ b/fs/ioctl.c
@@ -70,9 +70,7 @@ static int ioctl_fibmap(struct file *filp, int __user *p)
res = get_user(block, p);
if (res)
return res;
- lock_kernel();
res = mapping->a_ops->bmap(mapping, block);
- unlock_kernel();
return put_user(res, p);
}