Merge branch 'for-3.8/core' of git://git.kernel.dk/linux-block
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / scsi_lib.c
index 9032e910bca3044055ed23310b38c126318736bb..f1bf5aff68ed0bf3f83e0eb28fb4182f57b2de3c 100644 (file)
@@ -1418,7 +1418,7 @@ static int scsi_lld_busy(struct request_queue *q)
        struct scsi_device *sdev = q->queuedata;
        struct Scsi_Host *shost;
 
-       if (blk_queue_dead(q))
+       if (blk_queue_dying(q))
                return 0;
 
        shost = sdev->host;