]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: change interface for rport_create
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:00:39 +0000 (14:00 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:40 +0000 (12:07 -0500)
commit8c112c29d43ad75dfb395a410645c5fe1816e1bf
tree8d123acf1e7d9d07495d702b88ef2d75dfe696b1
parentd3c0efbff9dc3a747e44d298b514e5a30cb4aa9b
[SCSI] libfc: change interface for rport_create

The interface for lport->tt.rport_create() takes a fc_disc_port arg,
which is unnatural for most calls.   The only reason for this was
to avoid passing in the local port as an argument, but otherwise
added to complexity.

Simplify by just using lport and fc_rport_identifiers.

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_disc.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h