[SCSI] libfc: have rport_create do a lookup for pre-existing rports first
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:01:55 +0000 (14:01 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:46 +0000 (12:07 -0500)
commit19f97e3c0acc5eb03486044f5428395b7690a01a
tree640a956483f932f778706001a3582c79189aa482
parent48f00902ba40d3e4467782a42258b952437a89f9
[SCSI] libfc: have rport_create do a lookup for pre-existing rports first

For future discovery patches, change rport_create to return a previously
created rport_priv that has the FC_ID as long as it isn't in deleted state.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_rport.c