|
@@ -953,10 +953,11 @@ static void storvsc_handle_error(struct vmscsi_request *vm_srb,
|
|
|
case TEST_UNIT_READY:
|
|
|
break;
|
|
|
default:
|
|
|
- set_host_byte(scmnd, DID_TARGET_FAILURE);
|
|
|
+ set_host_byte(scmnd, DID_ERROR);
|
|
|
}
|
|
|
break;
|
|
|
case SRB_STATUS_INVALID_LUN:
|
|
|
+ set_host_byte(scmnd, DID_NO_CONNECT);
|
|
|
do_work = true;
|
|
|
process_err_fn = storvsc_remove_lun;
|
|
|
break;
|