aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-08-25 14:03:10 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 12:07:58 -0500
commit131203a1ef53f3a4deb3260031bc53c7e4db4a24 (patch)
tree0f85ee5bf5db4612a7a62aa8835f33a1acc5a9ac /include/scsi
parent[SCSI] libfc: Always reset remote port roles when receiving PRLI (diff)
downloadlinux-dev-131203a1ef53f3a4deb3260031bc53c7e4db4a24.tar.xz
linux-dev-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')
-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.