aboutsummaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/bsg.c')
-rw-r--r--block/bsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bsg.c b/block/bsg.c
index c85d961ee41e..0427ece9b6d8 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -900,7 +900,7 @@ bsg_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
900 case SG_EMULATED_HOST: 900 case SG_EMULATED_HOST:
901 case SCSI_IOCTL_SEND_COMMAND: { 901 case SCSI_IOCTL_SEND_COMMAND: {
902 void __user *uarg = (void __user *) arg; 902 void __user *uarg = (void __user *) arg;
903 return scsi_cmd_ioctl(file, bd->disk, cmd, uarg); 903 return scsi_cmd_ioctl(file, bd->queue, bd->disk, cmd, uarg);
904 } 904 }
905 case SG_IO: { 905 case SG_IO: {
906 struct request *rq; 906 struct request *rq;