diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2007-01-11 14:14:52 -0800 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-13 14:24:25 -0600 |
commit | bf451207511d049189ddb0a4eae3acdb086a3c82 (patch) | |
tree | 6866bb955a2e61a68cf791afc32497b24dd306c0 /drivers/scsi/sun3x_esp.c | |
parent | 8880839815265ccc0edaff52ba08d750eea57acb (diff) |
[SCSI] libsas: Clean up rphys/port dev list after a discovery error on an expander
sas_get_port_device assigns a rphy to a domain device in anticipation
of finding a disk. When a discovery error occurs in
sas_discover_{sata,sas,expander}*, however, we need to clean up that
rphy and the port device list so that we don't GPF. In addition, we
need to check the result of the second sas_notify_lldd_dev_found.
This patch seems ok on a x260, x366 and x206m.
This patch fixes up sas_expander.c separately because jejb has some
cleanup patches of his own that are a prerequisite.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sun3x_esp.c')
0 files changed, 0 insertions, 0 deletions