diff options
author | Hannes Reinecke <hare@suse.de> | 2017-04-06 16:36:33 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-06 20:07:33 +0300 |
commit | 8e8c9d01c5ea33e0d21f13264a9caeed255526d1 (patch) | |
tree | bf9748c6e26a839b43cf841ceb59b4efa4bc1ec4 /drivers/mfd/wm831x-auxadc.c | |
parent | 909657615d9b3ce709be4fd95b9a9e8c8c7c2be6 (diff) | |
download | linux-8e8c9d01c5ea33e0d21f13264a9caeed255526d1.tar.xz |
scsi: make eh_eflags persistent
If a failed command is retried and fails again we need
to enter SCSI EH, otherwise we will never be able to
recover the command.
To detect this situation we must not clear scmd->eh_eflags
when EH finishes but rather make it persistent throughout
the lifetime of the command.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/mfd/wm831x-auxadc.c')
0 files changed, 0 insertions, 0 deletions