call_usermodehelper: UMH_WAIT_EXEC ignores kernel_thread() failure
authorOleg Nesterov <oleg@redhat.com>
Wed, 26 May 2010 21:43:05 +0000 (14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:45 +0000 (09:12 -0700)
commit04b1c384fbc4e0209e5c1affb67050886376d44b
tree19bc8690113dd6ded88d465a0777cb8bf7e33262
parentd47419cd967a4f032a194148a7b08afad32faded
call_usermodehelper: UMH_WAIT_EXEC ignores kernel_thread() failure

UMH_WAIT_EXEC should report the error if kernel_thread() fails, like
UMH_WAIT_PROC does.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kmod.c