aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
-rw-r--r--drivers/scsi/scsi_sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index 5c7eb63a19d1..a48782866b22 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -766,7 +766,8 @@ sdev_store_queue_depth_rw(struct device *dev, struct device_attribute *attr,
766 if (depth < 1) 766 if (depth < 1)
767 return -EINVAL; 767 return -EINVAL;
768 768
769 retval = sht->change_queue_depth(sdev, depth); 769 retval = sht->change_queue_depth(sdev, depth,
770 SCSI_QDEPTH_DEFAULT);
770 if (retval < 0) 771 if (retval < 0)
771 return retval; 772 return retval;
772 773