aboutsummaryrefslogtreecommitdiffstats
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r--fs/compat_ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 6ad1c56a6c0e..a383424f1b25 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1918,9 +1918,7 @@ asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd,
1918 1918
1919 found_handler: 1919 found_handler:
1920 if (t->handler) { 1920 if (t->handler) {
1921 lock_kernel();
1922 error = t->handler(fd, cmd, arg, filp); 1921 error = t->handler(fd, cmd, arg, filp);
1923 unlock_kernel();
1924 goto out_fput; 1922 goto out_fput;
1925 } 1923 }
1926 1924