scsi_error: set DID_TIME_OUT correctly
authorHannes Reinecke <hare@suse.de>
Fri, 13 Jun 2014 12:01:45 +0000 (14:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 24 Jun 2014 15:00:12 +0000 (17:00 +0200)
Any callbacks in scsi_timeout_out() might return BLK_EH_RESET_TIMER,
in which case we should leave the result alone and not set
DID_TIME_OUT, as the command didn't actually timeout.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>

No differences found