diff options
-rw-r--r-- | drivers/scsi/storvsc_drv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 292c04eec9ad..3ddcabb790a8 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c | |||
@@ -914,8 +914,9 @@ static void storvsc_handle_error(struct vmscsi_request *vm_srb, | |||
914 | do_work = true; | 914 | do_work = true; |
915 | process_err_fn = storvsc_remove_lun; | 915 | process_err_fn = storvsc_remove_lun; |
916 | break; | 916 | break; |
917 | case (SRB_STATUS_ABORTED | SRB_STATUS_AUTOSENSE_VALID): | 917 | case SRB_STATUS_ABORTED: |
918 | if ((asc == 0x2a) && (ascq == 0x9)) { | 918 | if (vm_srb->srb_status & SRB_STATUS_AUTOSENSE_VALID && |
919 | (asc == 0x2a) && (ascq == 0x9)) { | ||
919 | do_work = true; | 920 | do_work = true; |
920 | process_err_fn = storvsc_device_scan; | 921 | process_err_fn = storvsc_device_scan; |
921 | /* | 922 | /* |