Messages in this thread Patch in this message | | | Date | Tue, 14 Feb 2012 17:48:40 +0100 | From | Oleg Nesterov <> | Subject | [PATCH 4/6] usermodehelper: ____call_usermodehelper() doesn't need do_exit() |
| |
Minor cleanup. ____call_usermodehelper() can simply return, no need to call do_exit() explicitely.
Signed-off-by: Oleg Nesterov <oleg@redhat.com> --- kernel/kmod.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/kmod.c b/kernel/kmod.c index 8341de9..685b246 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -188,7 +188,7 @@ static int ____call_usermodehelper(void *data) /* Exec failed? */ fail: sub_info->retval = retval; - do_exit(0); + return 0; } void call_usermodehelper_freeinfo(struct subprocess_info *info) -- 1.5.5.1
| |