diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rwxr-xr-x[-rw-r--r--] | drivers/scsi/lpfc/lpfc_hbadisc.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 3c06aa54a3e5..4d7d8846b4da 100644..100755 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -4369,6 +4369,14 @@ lpfc_fcf_inuse(struct lpfc_hba *phba) | |||
4369 | ret = 1; | 4369 | ret = 1; |
4370 | spin_unlock_irq(shost->host_lock); | 4370 | spin_unlock_irq(shost->host_lock); |
4371 | goto out; | 4371 | goto out; |
4372 | } else { | ||
4373 | lpfc_printf_log(phba, KERN_INFO, LOG_ELS, | ||
4374 | "2624 RPI %x DID %x flg %x still " | ||
4375 | "logged in\n", | ||
4376 | ndlp->nlp_rpi, ndlp->nlp_DID, | ||
4377 | ndlp->nlp_flag); | ||
4378 | if (ndlp->nlp_flag & NLP_RPI_VALID) | ||
4379 | ret = 1; | ||
4372 | } | 4380 | } |
4373 | } | 4381 | } |
4374 | spin_unlock_irq(shost->host_lock); | 4382 | spin_unlock_irq(shost->host_lock); |
@@ -4465,7 +4473,7 @@ lpfc_unregister_unused_fcf(struct lpfc_hba *phba) | |||
4465 | (phba->sli3_options & LPFC_SLI3_NPIV_ENABLED)) | 4473 | (phba->sli3_options & LPFC_SLI3_NPIV_ENABLED)) |
4466 | for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) { | 4474 | for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) { |
4467 | lpfc_mbx_unreg_vpi(vports[i]); | 4475 | lpfc_mbx_unreg_vpi(vports[i]); |
4468 | vports[i]->fc_flag |= FC_VPORT_NEEDS_REG_VPI; | 4476 | vports[i]->fc_flag |= FC_VPORT_NEEDS_INIT_VPI; |
4469 | vports[i]->vpi_state &= ~LPFC_VPI_REGISTERED; | 4477 | vports[i]->vpi_state &= ~LPFC_VPI_REGISTERED; |
4470 | } | 4478 | } |
4471 | lpfc_destroy_vport_work_array(phba, vports); | 4479 | lpfc_destroy_vport_work_array(phba, vports); |