diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-26 22:35:48 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-08 20:00:13 +0200 |
commit | 601e7638254c118fca135af9b1a9f35061420f62 (patch) | |
tree | 61b883be6901e4c994c5b472959e91ebdb267d6f /security | |
parent | [SCSI] fix up scsi_eh_lock_door() (diff) | |
download | linux-601e7638254c118fca135af9b1a9f35061420f62.tar.xz linux-601e7638254c118fca135af9b1a9f35061420f62.zip |
[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 <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions