diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-08-25 17:00:55 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 13:07:41 -0400 |
commit | a46f327aa5caf2cce138e98ddd863b6cca0e71e2 (patch) | |
tree | dbb230e8d4e024085e126445e6d819d5088e0406 /drivers/scsi/libfc/fc_disc.c | |
parent | 9fb9d32831fd687e427ec5b147bb690f468b99a0 (diff) |
[SCSI] libfc: change elsct to use FC_ID instead of rdata
tt.elsct_send is used by both FCP and by the rport state machine.
After further patches, these two modules will use different
structures for the remote port.
So, change elsct_send to use the FC_ID instead of the fc_rport_priv
as its argument. It currently only uses the FC_ID anyway.
For CT requests the destination FC_ID is still implicitly 0xfffffc.
After further patches the did arg on CT requests will be used to
specify the FC_ID being inquired about for GPN_ID or other queries.
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>
Diffstat (limited to 'drivers/scsi/libfc/fc_disc.c')
-rw-r--r-- | drivers/scsi/libfc/fc_disc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_disc.c b/drivers/scsi/libfc/fc_disc.c index 448ffc388656..4b1f9faf639a 100644 --- a/drivers/scsi/libfc/fc_disc.c +++ b/drivers/scsi/libfc/fc_disc.c | |||
@@ -526,7 +526,7 @@ static void fc_disc_gpn_ft_req(struct fc_disc *disc) | |||
526 | if (!fp) | 526 | if (!fp) |
527 | goto err; | 527 | goto err; |
528 | 528 | ||
529 | if (lport->tt.elsct_send(lport, NULL, fp, | 529 | if (lport->tt.elsct_send(lport, 0, fp, |
530 | FC_NS_GPN_FT, | 530 | FC_NS_GPN_FT, |
531 | fc_disc_gpn_ft_resp, | 531 | fc_disc_gpn_ft_resp, |
532 | disc, lport->e_d_tov)) | 532 | disc, lport->e_d_tov)) |