From: Stefan Richter Date: Tue, 13 Dec 2005 04:03:30 +0000 (-0500) Subject: sbp2: did not clean up after scsi_add_device() failed X-Git-Tag: v2.6.16-rc1~474^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc3edd5412341b02d84144ddfd5bf6ccaaeeb1ac;p=pandora-kernel.git sbp2: did not clean up after scsi_add_device() failed If scsi_add_device() at the end of sbp2_start_device() fails, e.g. due to transport errors during SCSI inquiry, sbp2 needs to log out of the device and release all associated resources. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre --- Reading git-diff-tree failed