From: Darrick J. Wong Date: Thu, 11 Jan 2007 22:14:49 +0000 (-0800) Subject: [SCSI] libsas: Clean up rphys/port dev list after a discovery error. X-Git-Tag: v2.6.21-rc1~274^2~230^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8880839815265ccc0edaff52ba08d750eea57acb;p=pandora-kernel.git [SCSI] libsas: Clean up rphys/port dev list after a discovery error. 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. Signed-off-by: Darrick J. Wong Signed-off-by: James Bottomley --- Reading git-diff-tree failed