[PATCH] Fix ____call_usermodehelper errors being silently ignored
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Fri, 29 Sep 2006 09:00:46 +0000 (02:00 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:16 +0000 (09:18 -0700)
commit111dbe0c8a21dffa473239861be47ebc87f593b3
treee2bbc7f3abdf3110f0292f0fd0d3a13a0b018dcd
parent3e26a423e78c1bb1ebd29c49d4ae4ccbbacd861b
[PATCH] Fix ____call_usermodehelper errors being silently ignored

If ____call_usermodehelper fails, we're not interested in the child
process' exit value, but the real error, so let's stop wait_for_helper from
overwriting it in that case.

Issue discovered by Benedikt Böhm while working on a Linux-VServer usermode
helper.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/kmod.c