summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-02-27 19:55:18 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-06 22:41:01 +0100
commit5101ff99f59aefb72e0c96e82aa32048ac9f8425 (patch)
tree83fba57c7cf542eed4466265619632e7d804eb88 /include
parent[SCSI] libfc: exch mgr is freed while lport still retrying sequences (diff)
downloadlinux-5101ff99f59aefb72e0c96e82aa32048ac9f8425.tar.xz
linux-5101ff99f59aefb72e0c96e82aa32048ac9f8425.zip
[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 'include')
-rw-r--r--include/scsi/libfc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index b9e6c1cd8914..37df48e13b97 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -490,6 +490,11 @@ struct libfc_function_template {
*/
/*
+ * Create a remote port
+ */
+ struct fc_rport *(*rport_create)(struct fc_disc_port *);
+
+ /*
* Initiates the RP state machine. It is called from the LP module.
* This function will issue the following commands to the N_Port
* identified by the FC ID provided.