From: Joe Eykholt Date: Tue, 25 Aug 2009 21:01:50 +0000 (-0700) Subject: [SCSI] libfc: make rport module maintain the rport list X-Git-Tag: v2.6.32-rc1~689^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f00902ba40d3e4467782a42258b952437a89f9;p=pandora-kernel.git [SCSI] libfc: make rport module maintain the rport list The list of remote ports (struct fc_rport_priv) has been maintained by the discovery module. In preparation for having lport->tt.rport_create() do a lookup first, maintain the rports list in the rport module. It will still be protected by the disc_mutex. The DNS rport is an exception for until after further patches. For now, do not add it to the list. The point-to-point rport will be in the discovery list. So at shutdown, it doesn't need to be separately logged out. Signed-off-by: Joe Eykholt Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed