Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[linux-2.6-microblaze.git] / drivers / scsi / scsi_lib.c
index 91bc39a..b3f14f0 100644 (file)
@@ -1709,8 +1709,7 @@ out_put_budget:
                break;
        case BLK_STS_RESOURCE:
        case BLK_STS_ZONE_RESOURCE:
-               if (atomic_read(&sdev->device_busy) ||
-                   scsi_device_blocked(sdev))
+               if (scsi_device_blocked(sdev))
                        ret = BLK_STS_DEV_RESOURCE;
                break;
        case BLK_STS_AGAIN: