aboutsummaryrefslogtreecommitdiffstats
path: root/block/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/ioctl.c')
-rw-r--r--block/ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/ioctl.c b/block/ioctl.c
index 1cfa8d449d90..9d91e830b320 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -320,9 +320,7 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
320 case BLKTRACESTOP: 320 case BLKTRACESTOP:
321 case BLKTRACESETUP: 321 case BLKTRACESETUP:
322 case BLKTRACETEARDOWN: 322 case BLKTRACETEARDOWN:
323 lock_kernel();
324 ret = blk_trace_ioctl(bdev, cmd, (char __user *) arg); 323 ret = blk_trace_ioctl(bdev, cmd, (char __user *) arg);
325 unlock_kernel();
326 break; 324 break;
327 default: 325 default:
328 ret = __blkdev_driver_ioctl(bdev, mode, cmd, arg); 326 ret = __blkdev_driver_ioctl(bdev, mode, cmd, arg);