vfork: introduce complete_vfork_done()
authorOleg Nesterov <oleg@redhat.com>
Mon, 5 Mar 2012 22:59:13 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 5 Mar 2012 23:49:42 +0000 (15:49 -0800)
commitc415c3b47ea2754659d915cca387a20999044163
treec2cb1134f139702e06ade8aecbeff70be7ea727c
parent880641bb9da2473e9ecf6c708d993b29928c1b3c
vfork: introduce complete_vfork_done()

No functional changes.

Move the clear-and-complete-vfork_done code into the new trivial helper,
complete_vfork_done().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c
include/linux/sched.h
kernel/fork.c