Commit d2315ce6 authored by Don Brace's avatar Don Brace Committed by Martin K. Petersen

scsi: hpsa: correct resets on retried commands

- call scsi_done when the command completes.
Reviewed-by: default avatarScott Benesh <scott.benesh@microsemi.com>
Reviewed-by: default avatarScott Teel <scott.teel@microsemi.com>
Reviewed-by: default avatarKevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: default avatarDon Brace <don.brace@microsemi.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 3b476aa2
...@@ -5465,7 +5465,7 @@ static void hpsa_command_resubmit_worker(struct work_struct *work) ...@@ -5465,7 +5465,7 @@ static void hpsa_command_resubmit_worker(struct work_struct *work)
return hpsa_cmd_free_and_done(c->h, c, cmd); return hpsa_cmd_free_and_done(c->h, c, cmd);
} }
if (c->reset_pending) 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) if (c->abort_pending)
return hpsa_cmd_abort_and_free(c->h, c, cmd); return hpsa_cmd_abort_and_free(c->h, c, cmd);
if (c->cmd_type == CMD_IOACCEL2) { if (c->cmd_type == CMD_IOACCEL2) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment