Message ID | 20150423143211.18832.5714.stgit@brunhilda (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index d38daa9..5532664 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -6898,6 +6898,7 @@ static void fail_all_outstanding_cmds(struct ctlr_info *h) if (refcount > 1) { c->err_info->CommandStatus = CMD_CTLR_LOCKUP; finish_cmd(c); + atomic_dec(&h->commands_outstanding); failcount++; } cmd_free(h, c);