scsi: hpsa: correct resets on retried commands
- call scsi_done when the command completes. Reviewed-by: Scott Benesh <scott.benesh@microsemi.com> Reviewed-by: Scott Teel <scott.teel@microsemi.com> Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com> Signed-off-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
3b476aa24d
commit
d2315ce6e3
@ -5465,7 +5465,7 @@ static void hpsa_command_resubmit_worker(struct work_struct *work)
|
||||
return hpsa_cmd_free_and_done(c->h, c, cmd);
|
||||
}
|
||||
if (c->reset_pending)
|
||||
return hpsa_cmd_resolve_and_free(c->h, c);
|
||||
return hpsa_cmd_free_and_done(c->h, c, cmd);
|
||||
if (c->abort_pending)
|
||||
return hpsa_cmd_abort_and_free(c->h, c, cmd);
|
||||
if (c->cmd_type == CMD_IOACCEL2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user