diff options
Diffstat (limited to 'drivers/block/virtio_blk.c')
-rw-r--r-- | drivers/block/virtio_blk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index ffd5ca919295..c4a60badf252 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c | |||
@@ -250,8 +250,8 @@ static int virtblk_ioctl(struct block_device *bdev, fmode_t mode, | |||
250 | if (!virtio_has_feature(vblk->vdev, VIRTIO_BLK_F_SCSI)) | 250 | if (!virtio_has_feature(vblk->vdev, VIRTIO_BLK_F_SCSI)) |
251 | return -ENOTTY; | 251 | return -ENOTTY; |
252 | 252 | ||
253 | return scsi_cmd_ioctl(disk->queue, disk, mode, cmd, | 253 | return scsi_cmd_blk_ioctl(bdev, mode, cmd, |
254 | (void __user *)data); | 254 | (void __user *)data); |
255 | } | 255 | } |
256 | 256 | ||
257 | /* We provide getgeo only to please some old bootloader/partitioning tools */ | 257 | /* We provide getgeo only to please some old bootloader/partitioning tools */ |