diff options
author | Chris Leech <christopher.leech@intel.com> | 2009-11-03 14:46:56 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:02 -0500 |
commit | 5baa17c3e66fc2e414f501b2dd59b962dfc64919 (patch) | |
tree | 8194fcceb647f6740bdf6350da2a2d9dc393ae3e /drivers/scsi/fcoe | |
parent | c9c7bd7a5e7321aa96289c9b48fdbcc828c105e6 (diff) |
[SCSI] libfc: Register Symbolic Node Name (RSNN_NN)
Register the fc_host symbolic name as the symbolic node name
with the fabric name server.
Signed-off-by: Chris Leech <christopher.leech@intel.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/fcoe')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index f23cdb38d5c..437eacf2732 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -591,9 +591,9 @@ static int fcoe_shost_config(struct fc_lport *lp, struct Scsi_Host *shost, | |||
591 | if (!lp->vport) | 591 | if (!lp->vport) |
592 | fc_host_max_npiv_vports(lp->host) = USHORT_MAX; | 592 | fc_host_max_npiv_vports(lp->host) = USHORT_MAX; |
593 | 593 | ||
594 | sprintf(fc_host_symbolic_name(lp->host), "%s v%s over %s", | 594 | snprintf(fc_host_symbolic_name(lp->host), FC_SYMBOLIC_NAME_SIZE, |
595 | FCOE_NAME, FCOE_VERSION, | 595 | "%s v%s over %s", FCOE_NAME, FCOE_VERSION, |
596 | fcoe_netdev(lp)->name); | 596 | fcoe_netdev(lp)->name); |
597 | 597 | ||
598 | return 0; | 598 | return 0; |
599 | } | 599 | } |