diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 6d65ac584eba..f8d51c3d5582 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -655,6 +655,7 @@ static blk_status_t scsi_result_to_blk_status(struct scsi_cmnd *cmd, int result) | |||
655 | set_host_byte(cmd, DID_OK); | 655 | set_host_byte(cmd, DID_OK); |
656 | return BLK_STS_TARGET; | 656 | return BLK_STS_TARGET; |
657 | case DID_NEXUS_FAILURE: | 657 | case DID_NEXUS_FAILURE: |
658 | set_host_byte(cmd, DID_OK); | ||
658 | return BLK_STS_NEXUS; | 659 | return BLK_STS_NEXUS; |
659 | case DID_ALLOC_FAILURE: | 660 | case DID_ALLOC_FAILURE: |
660 | set_host_byte(cmd, DID_OK); | 661 | set_host_byte(cmd, DID_OK); |