]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] libfc: Pass lport in exch_mgr_reset
authorAbhijeet Joglekar <abjoglek@cisco.com>
Fri, 27 Feb 2009 18:54:35 +0000 (10:54 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 6 Mar 2009 21:35:47 +0000 (15:35 -0600)
commit1f6ff364ceda516f88351a8ab640e656beed0b26
tree227a5f6e39372eaf3c898d1de8feb2b88df707b0
parent33dd6f92a1a7ad85c54d47fd9d73371a32c0bde4
[SCSI] libfc: Pass lport in exch_mgr_reset

fc_exch_mgr structure is private to fc_exch.c. To export exch_mgr_reset to
transport, transport needs access to the exch manager. Change
exch_mgr_reset to use lport param which is the shared structure between
libFC and transport.

Alternatively, fc_exch_mgr definition can be moved to libfc.h so that lport
can be accessed from mp*.

Signed-off-by: Abhijeet Joglekar <abjoglek@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h