[SCSI] libfc: Change state to NONE in fc_lport_destroy
authorAbhijeet Joglekar <abjoglek@cisco.com>
Tue, 21 Apr 2009 23:27:14 +0000 (16:27 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:19:01 +0000 (10:19 -0500)
commitbbf156697a6332f9074e2b275a9157d99a431398
tree13928d3cf46a7029a3e764c8767d8c6a31dd2349
parenta0fd2e49ec75bf74d3d202df51dfe65ad4c32605
[SCSI] libfc: Change state to NONE in fc_lport_destroy

After lport_destroy, the local port should not be used again. Transition
to state NONE, any incoming frames or link up should not transition out
of this state since we are deleting exchange table and cleaning up the
local port. Also, mark link as down.

Signed-off-by: Abhijeet Joglekar <abjoglek@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libfc/fc_lport.c