summaryrefslogtreecommitdiffstats
path: root/include/scsi/libfc.h
diff options
context:
space:
mode:
authorJoe Eykholt2009-08-25 23:03:10 +0200
committerJames Bottomley2009-09-10 19:07:58 +0200
commit131203a1ef53f3a4deb3260031bc53c7e4db4a24 (patch)
tree0f85ee5bf5db4612a7a62aa8835f33a1acc5a9ac /include/scsi/libfc.h
parent[SCSI] libfc: Always reset remote port roles when receiving PRLI (diff)
downloadkernel-qcow2-linux-131203a1ef53f3a4deb3260031bc53c7e4db4a24.tar.gz
kernel-qcow2-linux-131203a1ef53f3a4deb3260031bc53c7e4db4a24.tar.xz
kernel-qcow2-linux-131203a1ef53f3a4deb3260031bc53c7e4db4a24.zip
[SCSI] libfc: move remote port lookup for ELS requests into fc_rport.c.
This moves the remote port lookup for incoming ELS requests into fc_rport.c, in preparation for handing PLOGI and LOGO from unknown rports. This changes the arg to rport_recv_req from an rdata to an lport. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/libfc.h')
-rw-r--r--include/scsi/libfc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index cd410c123b99..265f106d9fd6 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -598,7 +598,7 @@ struct libfc_function_template {
* STATUS: OPTIONAL
*/
void (*rport_recv_req)(struct fc_seq *, struct fc_frame *,
- struct fc_rport_priv *);
+ struct fc_lport *);
/*
* lookup an rport by it's port ID.