summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mid.c
diff options
context:
space:
mode:
authorSeokmann Ju <seokmann.ju@qlogic.com>2008-07-11 01:55:56 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 21:14:41 +0200
commit8f0d6436d215a2e0033ab2af192ac7e4b300bd3e (patch)
tree9563f354af93d1f379f827fb1cea0d45b62a59be /drivers/scsi/qla2xxx/qla_mid.c
parent[SCSI] qla2xxx: Always aquire the parent's hardware_lock. (diff)
downloadlinux-8f0d6436d215a2e0033ab2af192ac7e4b300bd3e.tar.xz
linux-8f0d6436d215a2e0033ab2af192ac7e4b300bd3e.zip
[SCSI] qla2xxx: Correct fcport state-management during loss.
All fcport->state management should be done within qla2x00_mark_device_lost(), the assignment of state within qla2x00_mark_vp_devices_dead() caused associated rports to not be removed. Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mid.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c
index fa35339b7b69..e7565765fa14 100644
--- a/drivers/scsi/qla2xxx/qla_mid.c
+++ b/drivers/scsi/qla2xxx/qla_mid.c
@@ -105,7 +105,6 @@ qla2x00_mark_vp_devices_dead(scsi_qla_host_t *vha)
"loop_id=0x%04x :%x\n",
vha->host_no, fcport->loop_id, fcport->vp_idx));
- atomic_set(&fcport->state, FCS_DEVICE_DEAD);
qla2x00_mark_device_lost(vha, fcport, 0, 0);
}
}