bsg: add a request_queue argument to scsi_cmd_ioctl()
[linux-2.6.git] / drivers / scsi / st.c
index 55bfecc..a4f7b84 100644 (file)
@@ -3549,7 +3549,8 @@ static int st_ioctl(struct inode *inode, struct file *file,
                            !capable(CAP_SYS_RAWIO))
                                i = -EPERM;
                        else
-                               i = scsi_cmd_ioctl(file, STp->disk, cmd_in, p);
+                               i = scsi_cmd_ioctl(file, STp->disk->queue,
+                                                  STp->disk, cmd_in, p);
                        if (i != -ENOTTY)
                                return i;
                        break;