]> git.baikalelectronics.ru Git - kernel.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)
commit37a9e47f23daf12b279b9bc3f8c67e14a1b7d9ec
tree227a5f6e39372eaf3c898d1de8feb2b88df707b0
parente26ffc549adc508c7ac15ae23d0b29d2604d2bc7
[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