diff options
author | James Bottomley | 2009-05-26 20:35:48 +0000 |
---|---|---|
committer | James Bottomley | 2009-06-08 13:00:13 -0500 |
commit | 601e7638254c118fca135af9b1a9f35061420f62 (patch) | |
tree | 61b883be6901e4c994c5b472959e91ebdb267d6f /fs/namei.c | |
parent | 91bc31fb3bae4e55832c7c39d4f9c193285e6ab2 (diff) |
[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 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions