Commit 5b9bd473e3b8a8c6c4ae99be475e6e9b27568555

Authored by Oleg Nesterov
Committed by Linus Torvalds
1 parent 9d944ef32e

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>
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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -188,7 +188,7 @@
188 188 /* Exec failed? */
189 189 fail:
190 190 sub_info->retval = retval;
191   - do_exit(0);
  191 + return 0;
192 192 }
193 193  
194 194 void call_usermodehelper_freeinfo(struct subprocess_info *info)