Files
linux-kernel-test/drivers/scsi
Ulrich Obergfell 8922a90890 scsi_error: fix invalid setting of host byte
After scsi_try_to_abort_cmd returns, the eh_abort_handler may have
already found that the command has completed in the device, causing
the host_byte to be nonzero (e.g. it could be DID_ABORT).  When
this happens, ORing DID_TIME_OUT into the host byte will corrupt
the result field and initiate an unwanted command retry.

Fix this by using set_host_byte instead, following the model of
commit 2082ebc45a.

Cc: stable@vger.kernel.org
Signed-off-by: Ulrich Obergfell <uobergfe@redhat.com>
[Fix all instances according to review comments. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
2014-06-24 17:00:12 +02:00
..
2014-05-19 19:12:23 +02:00
2014-04-18 14:20:48 +02:00
2014-06-06 07:57:37 -06:00
2013-10-25 11:36:26 +01:00
2014-05-28 18:14:16 +02:00
2014-06-06 07:57:37 -06:00
2014-04-10 15:30:35 -07:00
2014-04-10 15:30:35 -07:00
2013-11-23 22:33:50 -08:00
2014-06-06 07:57:37 -06:00
2014-06-06 07:57:37 -06:00
2014-05-28 18:14:16 +02:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00