From: James Bottomley Date: Tue, 26 May 2009 20:35:48 +0000 (+0000) Subject: [SCSI] sd: fix bug in SCSI async probing X-Git-Tag: v2.6.31-rc1~365^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=601e7638254c118fca135af9b1a9f35061420f62;p=pandora-kernel.git [SCSI] sd: fix bug in SCSI async probing The async split up of probing in sd.c created a potential failure case where something goes wrong with device_add(), but which we don't recover properly. Since, in general, asynchronous error handling is hard, move the device_add() into the asynchronous path (it should be fast) and make sure all the deferred processing cannot fail. Signed-off-by: James Bottomley --- Reading git-diff-tree failed