[SCSI] modify change_queue_depth to take in reason why it is being called
[deliverable/linux.git] / drivers / scsi / scsi_sysfs.c
index 5c7eb63a19d13732514e0bd3f50ade6ab380c4d5..a48782866b22575851e3442b5228390ceb8f6e25 100644 (file)
@@ -766,7 +766,8 @@ sdev_store_queue_depth_rw(struct device *dev, struct device_attribute *attr,
        if (depth < 1)
                return -EINVAL;
 
-       retval = sht->change_queue_depth(sdev, depth);
+       retval = sht->change_queue_depth(sdev, depth,
+                                        SCSI_QDEPTH_DEFAULT);
        if (retval < 0)
                return retval;
 
This page took 0.028877 seconds and 5 git commands to generate.