From: Joe Eykholt Date: Tue, 25 Aug 2009 21:01:18 +0000 (-0700) Subject: [SCSI] libfc: don't create dummy (rogue) remote ports X-Git-Tag: v2.6.32-rc1~689^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9d0452fe12115b1c1883c0d4d2ee509079791b;p=pandora-kernel.git [SCSI] libfc: don't create dummy (rogue) remote ports Don't create a "dummy" remote port to go with fc_rport_priv. Make the rport truly optional by allocating fc_rport_priv separately and not requiring a dummy rport to be there if we haven't yet done fc_remote_port_add(). The fc_rport_libfc_priv remains as a structure attached to the rport for I/O purposes. Be sure to hold references on rdata when the lock is dropped in fc_rport_work(). Signed-off-by: Joe Eykholt Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed