diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-02-14 22:22:14 (GMT) |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-02-28 03:25:40 (GMT) |
commit | 8b097a67264ba3e10620b268979de3be6fe5e3cd (patch) | |
tree | a014abfb3e58ddf7b71e1c37dbecdac44020a312 /drivers/scsi/a100u2w.c | |
parent | eca7be5e1899626db01ae42b0123458d6fb34930 (diff) | |
download | linux-8b097a67264ba3e10620b268979de3be6fe5e3cd.tar.xz |
[SCSI] fc_transport: stop creating duplicate rport entries.
Current fc_transport consumers initially register rports
with an UNKNOWN role-state and follow-up with a call to
fc_remote_port_rolechg(). Modify code in
fc_remote_port_add() to scan the fc_host_rport_bindings()
array for consistent bindings regardless of role-type.
Original code would only scan bindings array for targets,
causing duplicate fc_remote_ports/rport-X:Y-Z entries to be
created for the yet-to-be-role-changed rports.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/a100u2w.c')
0 files changed, 0 insertions, 0 deletions