compat_ioctl: Remove BKL
[safe/jmp/linux-2.6] / fs / compat_ioctl.c
index 6ad1c56..a383424 100644 (file)
@@ -1918,9 +1918,7 @@ asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd,
 
  found_handler:
        if (t->handler) {
-               lock_kernel();
                error = t->handler(fd, cmd, arg, filp);
-               unlock_kernel();
                goto out_fput;
        }