]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/hpsa.c
[SCSI] hpsa: do not discard scsi status on aborted commands
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Mon, 23 Sep 2013 18:33:41 +0000 (13:33 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 30 Nov 2013 22:04:49 +0000 (17:04 -0500)
commit2e311fbabdc23b7eaec77313dc3b9a151a5407b5
tree9b898aa40daf6a6e67eae786397e5ca8cf63b507
parent54b2b50c20a61b51199bedb6e5d2f8ec2568fb43
[SCSI] hpsa: do not discard scsi status on aborted commands

We inadvertantly discarded the scsi status for aborted commands.
For some commands (e.g. reads from tape drives) these can't be retried,
and if we discarded the scsi status, the scsi mid layer couldn't notice
anything was wrong and the error was not reported.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c