From: Alan Stern Date: Fri, 12 Feb 2010 17:13:55 +0000 (-0500) Subject: [SCSI] fix duplicate removal on error path in scsi_sysfs_add_sdev X-Git-Tag: v2.6.34-rc1~284^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee37e09d81a4acf328f68189af12f116401f8c0f;p=pandora-kernel.git [SCSI] fix duplicate removal on error path in scsi_sysfs_add_sdev This patch (as1335) fixes a bug in scsi_sysfs_add_sdev(). Its callers always remove the device if anything goes wrong, so it should never remove the device. Signed-off-by: Alan Stern Signed-off-by: James Bottomley --- Reading git-diff-tree failed