hpsa: decrement h->commands_outstanding in fail_all_outstanding_cmds
authorStephen Cameron <stephenmcameron@gmail.com>
Thu, 23 Apr 2015 14:32:11 +0000 (09:32 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:23:26 +0000 (11:23 -0700)
commit433b5f4dba2307e33ea65169009965f26496b6df
tree2c931f78c135b51a006f93093237f24318eb3ac7
parent9b5c48c28f5651f5e36150131bd7b29cc85a3512
hpsa: decrement h->commands_outstanding in fail_all_outstanding_cmds

make tracking of outstanding commands more robust

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/hpsa.c