aboutsummaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-08-20 09:18:48 -0600
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:51:06 -0400
commita57b1fccdfa65b78481f5e651833d979e545de04 (patch)
treed70028d8df64fd12d8a583da18a31f9de6a853ae /Kbuild
parent31765d7d3da9bb575f80faecae0b931afa3532c6 (diff)
[SCSI] scsi_scan: Cope with kthread_run failing
If kthread_run failed, we would fail to scan the host, and leak the allocated async_scan_data. Since using a separate thread is just an optimisation, do the scan synchronously if we fail to spawn a thread. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions