]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit73d4335f98e40b1e3185c33af8f72b3ac4a9b14b
tree640a956483f932f778706001a3582c79189aa482
parent3722596f9510febb398e57bdafd6f8ad388db8e2
[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