diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 1255b9d1b1b0..ff20abdc5095 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c | |||
@@ -3058,7 +3058,7 @@ lpfc_queuecommand_lck(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *)) | |||
3058 | * transport is still transitioning. | 3058 | * transport is still transitioning. |
3059 | */ | 3059 | */ |
3060 | if (!ndlp || !NLP_CHK_NODE_ACT(ndlp)) { | 3060 | if (!ndlp || !NLP_CHK_NODE_ACT(ndlp)) { |
3061 | cmnd->result = ScsiResult(DID_TRANSPORT_DISRUPTED, 0); | 3061 | cmnd->result = ScsiResult(DID_IMM_RETRY, 0); |
3062 | goto out_fail_command; | 3062 | goto out_fail_command; |
3063 | } | 3063 | } |
3064 | if (atomic_read(&ndlp->cmd_pending) >= ndlp->cmd_qdepth) | 3064 | if (atomic_read(&ndlp->cmd_pending) >= ndlp->cmd_qdepth) |