|
@@ -1170,7 +1170,7 @@ static int cciss_ioctl(struct inode *inode, struct file *filep,
|
|
|
case SG_EMULATED_HOST:
|
|
|
case SG_IO:
|
|
|
case SCSI_IOCTL_SEND_COMMAND:
|
|
|
- return scsi_cmd_ioctl(filep, disk, cmd, argp);
|
|
|
+ return scsi_cmd_ioctl(filep, disk->queue, disk, cmd, argp);
|
|
|
|
|
|
/* scsi_cmd_ioctl would normally handle these, below, but */
|
|
|
/* they aren't a good fit for cciss, as CD-ROMs are */
|