block: remove the gendisk argument to blk_execute_rq
[linux-2.6-block.git] / drivers / scsi / scsi_lib.c
index c23cf8e7b3c3c0d7a234f17ecf74dff22c09ae45..35e381f6d371e6b9ce0cb8f60b90e2c79869ef2f 100644 (file)
@@ -241,7 +241,7 @@ int __scsi_execute(struct scsi_device *sdev, const unsigned char *cmd,
        /*
         * head injection *required* here otherwise quiesce won't work
         */
-       blk_execute_rq(NULL, req, 1);
+       blk_execute_rq(req, true);
 
        /*
         * Some devices (USB mass-storage in particular) may transfer