diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_transport_fc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h index fb8d01370663..49d8913c4f86 100644 --- a/include/scsi/scsi_transport_fc.h +++ b/include/scsi/scsi_transport_fc.h | |||
@@ -679,15 +679,15 @@ fc_remote_port_chkready(struct fc_rport *rport) | |||
679 | if (rport->roles & FC_PORT_ROLE_FCP_TARGET) | 679 | if (rport->roles & FC_PORT_ROLE_FCP_TARGET) |
680 | result = 0; | 680 | result = 0; |
681 | else if (rport->flags & FC_RPORT_DEVLOSS_PENDING) | 681 | else if (rport->flags & FC_RPORT_DEVLOSS_PENDING) |
682 | result = DID_IMM_RETRY << 16; | 682 | result = DID_TRANSPORT_DISRUPTED << 16; |
683 | else | 683 | else |
684 | result = DID_NO_CONNECT << 16; | 684 | result = DID_NO_CONNECT << 16; |
685 | break; | 685 | break; |
686 | case FC_PORTSTATE_BLOCKED: | 686 | case FC_PORTSTATE_BLOCKED: |
687 | if (rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT) | 687 | if (rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT) |
688 | result = DID_NO_CONNECT << 16; | 688 | result = DID_TRANSPORT_FAILFAST << 16; |
689 | else | 689 | else |
690 | result = DID_IMM_RETRY << 16; | 690 | result = DID_TRANSPORT_DISRUPTED << 16; |
691 | break; | 691 | break; |
692 | default: | 692 | default: |
693 | result = DID_NO_CONNECT << 16; | 693 | result = DID_NO_CONNECT << 16; |