|
@@ -1041,7 +1041,7 @@ retry:
|
|
}
|
|
}
|
|
/* signal not to enter either branch of the if () below */
|
|
/* signal not to enter either branch of the if () below */
|
|
timeleft = 0;
|
|
timeleft = 0;
|
|
- rtn = NEEDS_RETRY;
|
|
|
|
|
|
+ rtn = FAILED;
|
|
} else {
|
|
} else {
|
|
timeleft = wait_for_completion_timeout(&done, timeout);
|
|
timeleft = wait_for_completion_timeout(&done, timeout);
|
|
rtn = SUCCESS;
|
|
rtn = SUCCESS;
|
|
@@ -1081,7 +1081,7 @@ retry:
|
|
rtn = FAILED;
|
|
rtn = FAILED;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
- } else if (!rtn) {
|
|
|
|
|
|
+ } else if (rtn != FAILED) {
|
|
scsi_abort_eh_cmnd(scmd);
|
|
scsi_abort_eh_cmnd(scmd);
|
|
rtn = FAILED;
|
|
rtn = FAILED;
|
|
}
|
|
}
|