[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)
commit795d86f55ec3bf6280dda368f208943f1fb7d366
tree8d123acf1e7d9d07495d702b88ef2d75dfe696b1
parentab28f1fd3b0d14c1bd693e640decd711d5e6642a
[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