[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:

committed by
James Bottomley

parent
f7db2c150c
commit
5101ff99f5
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user