diff options
author | Robert Love <robert.w.love@intel.com> | 2009-02-27 10:55:18 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-06 15:41:01 -0600 |
commit | 5101ff99f59aefb72e0c96e82aa32048ac9f8425 (patch) | |
tree | 83fba57c7cf542eed4466265619632e7d804eb88 /drivers/scsi/libfc/fc_rport.c | |
parent | f7db2c150cf5082cf74555f30a1305938041de80 (diff) | |
download | kernel_samsung_tuna-5101ff99f59aefb72e0c96e82aa32048ac9f8425.zip kernel_samsung_tuna-5101ff99f59aefb72e0c96e82aa32048ac9f8425.tar.gz kernel_samsung_tuna-5101ff99f59aefb72e0c96e82aa32048ac9f8425.tar.bz2 |
[SCSI] libfc: Don't violate transport template for rogue port creation
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libfc/fc_rport.c')
-rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 600a8ff..81b3ca1 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c @@ -1271,6 +1271,9 @@ static void fc_rport_flush_queue(void) int fc_rport_init(struct fc_lport *lport) { + if (!lport->tt.rport_create) + lport->tt.rport_create = fc_rport_rogue_create; + if (!lport->tt.rport_login) lport->tt.rport_login = fc_rport_login; |