| Date | Mon, 04 Mar 2013 03:39:33 +0000 | From | Ben Hutchings <> | Subject | [ 146/153] usermodehelper: ____call_usermodehelper() doesnt need do_exit() |
| |
3.2-stable review patch. If anyone has any objections, please let me know.
------------------
From: Oleg Nesterov <oleg@redhat.com>
commit 5b9bd473e3b8a8c6c4ae99be475e6e9b27568555 upstream.
Minor cleanup. ____call_usermodehelper() can simply return, no need to call do_exit() explicitely.
Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Tejun Heo <tj@kernel.org> Cc: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> --- kernel/kmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -186,7 +186,7 @@ static int ____call_usermodehelper(void /* Exec failed? */ fail: sub_info->retval = retval; - do_exit(0); + return 0; } void call_usermodehelper_freeinfo(struct subprocess_info *info)
|