[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>
This commit is contained in:
Robert Love
2009-02-27 10:55:18 -08:00
committed by James Bottomley
parent f7db2c150c
commit 5101ff99f5
4 changed files with 13 additions and 5 deletions

View File

@@ -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;