[SCSI] libfc: move remote port lookup for ELS requests into fc_rport.c.
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:03:10 +0000 (14:03 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:58 +0000 (12:07 -0500)
commit131203a1ef53f3a4deb3260031bc53c7e4db4a24
tree0f85ee5bf5db4612a7a62aa8835f33a1acc5a9ac
parent6bd054cbf3f7da3442f30a7d4eb7da4dd1c44f21
[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>
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h