]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/scsi.c
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[karo-tx-linux.git] / drivers / scsi / scsi.c
index 1deb6adc411f795833a444a84b1e80e9f9629c4d..75455d4dab68b5cd49378635d2848da8340b7ff3 100644 (file)
@@ -621,6 +621,9 @@ int scsi_change_queue_depth(struct scsi_device *sdev, int depth)
                wmb();
        }
 
+       if (sdev->request_queue)
+               blk_set_queue_depth(sdev->request_queue, depth);
+
        return sdev->queue_depth;
 }
 EXPORT_SYMBOL(scsi_change_queue_depth);