aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/st.c')
-rw-r--r--drivers/scsi/st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
index 5c28d08f18f4..8dffac9f3419 100644
--- a/drivers/scsi/st.c
+++ b/drivers/scsi/st.c
@@ -3567,8 +3567,8 @@ static long st_ioctl(struct file *file, unsigned int cmd_in, unsigned long arg)
3567 !capable(CAP_SYS_RAWIO)) 3567 !capable(CAP_SYS_RAWIO))
3568 i = -EPERM; 3568 i = -EPERM;
3569 else 3569 else
3570 i = scsi_cmd_ioctl(file, STp->disk->queue, 3570 i = scsi_cmd_ioctl(STp->disk->queue, STp->disk,
3571 STp->disk, cmd_in, p); 3571 file->f_mode, cmd_in, p);
3572 if (i != -ENOTTY) 3572 if (i != -ENOTTY)
3573 return i; 3573 return i;
3574 break; 3574 break;