scsi: libfc: do not overwrite DID_TIME_OUT status
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:43 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:51 +0000 (17:29 -0500)
commit0f4c16a2f41400dba12e5039429e780aa938aa0c
tree77b9200a147b0a4e21eab3fb6f322278c8446ff6
parent69aabccede61f86b828928084dc8df288ecb2d83
scsi: libfc: do not overwrite DID_TIME_OUT status

When a command is aborted it might already have the DID_TIME_OUT
status set, so we shouldn't be overwriting that.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_fcp.c