From: Santosh Vernekar Date: Fri, 31 Jul 2009 22:09:26 +0000 (-0700) Subject: [SCSI] qla2xxx: Mark all devices lost on loss of fc port. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=faadc5e71cb69cff9c4517f7a4add97f92820120;p=linux-beck.git [SCSI] qla2xxx: Mark all devices lost on loss of fc port. Signed-off-by: Santosh Vernekar Signed-off-by: Giridhar Malavali Signed-off-by: James Bottomley Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 00f23d20a983..63e7cdce244c 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -639,6 +639,7 @@ skip_rio: atomic_set(&vha->vp_state, VP_FAILED); fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); + qla2x00_mark_all_devices_lost(vha, 1); } vha->flags.management_server_logged_in = 0;