Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[linux-2.6-microblaze.git] / drivers / scsi / lpfc / lpfc_attr.c
index 4dcd129..82f6e21 100644 (file)
@@ -3248,6 +3248,11 @@ lpfc_update_rport_devloss_tmo(struct lpfc_vport *vport)
                        continue;
                if (ndlp->rport)
                        ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo;
+#if (IS_ENABLED(CONFIG_NVME_FC))
+               if (ndlp->nrport)
+                       nvme_fc_set_remoteport_devloss(ndlp->nrport->remoteport,
+                                                      vport->cfg_devloss_tmo);
+#endif
        }
        spin_unlock_irq(shost->host_lock);
 }