diff options
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 0fcad430474e..a2d6612b80d2 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -1170,7 +1170,7 @@ static int cciss_ioctl(struct inode *inode, struct file *filep, | |||
1170 | case SG_EMULATED_HOST: | 1170 | case SG_EMULATED_HOST: |
1171 | case SG_IO: | 1171 | case SG_IO: |
1172 | case SCSI_IOCTL_SEND_COMMAND: | 1172 | case SCSI_IOCTL_SEND_COMMAND: |
1173 | return scsi_cmd_ioctl(filep, disk, cmd, argp); | 1173 | return scsi_cmd_ioctl(filep, disk->queue, disk, cmd, argp); |
1174 | 1174 | ||
1175 | /* scsi_cmd_ioctl would normally handle these, below, but */ | 1175 | /* scsi_cmd_ioctl would normally handle these, below, but */ |
1176 | /* they aren't a good fit for cciss, as CD-ROMs are */ | 1176 | /* they aren't a good fit for cciss, as CD-ROMs are */ |