[SCSI] lpfc 8.3.7: Fix discovery failures.
authorJames Smart <james.smart@emulex.com>
Mon, 21 Dec 2009 22:03:15 +0000 (17:03 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 4 Jan 2010 17:39:46 +0000 (11:39 -0600)
commit9795724476860069ce183ead59d0a5958f882037
tree039c8106cf265217af485fcf574ea3648700f362
parentaacc20e35edfb86cf66c5ee8d9f3d06a98362fd1
[SCSI] lpfc 8.3.7: Fix discovery failures.

Fix discovery failures:
- Move all accesses to the fc_flag field inside the host lock.
- Restore link state after going through linkdown processing for FCF DEAD event.

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_vport.c