aboutsummaryrefslogtreecommitdiff
path: root/include/scsi/libsrp.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-26 20:35:48 +0000
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-08 13:00:13 -0500
commit601e7638254c118fca135af9b1a9f35061420f62 (patch)
tree61b883be6901e4c994c5b472959e91ebdb267d6f /include/scsi/libsrp.h
parent91bc31fb3bae4e55832c7c39d4f9c193285e6ab2 (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 'include/scsi/libsrp.h')
0 files changed, 0 insertions, 0 deletions