- call scsi_done when the command completes.

Reviewed-by: Scott Benesh <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Kevin Barnett <[email protected]>
Signed-off-by: Don Brace <[email protected]>
---
 drivers/scsi/hpsa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 53a4f34..a2852da 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -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) {

Reply via email to