[PATCH] copy_process: error path cleanup
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 8 Jan 2006 09:04:02 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:01 +0000 (20:14 -0800)
commitfe7d37d1fbf8ffe78abd72728b24fb0c64f7af55
tree274d82b06d2a711e84381b1357c6332077181d27
parentddc0f846aa7621940b74cee0c91cd26405058a4d
[PATCH] copy_process: error path cleanup

This patch moves 'fork_out:' under 'bad_fork_free:', and removes now
unneeded 'if (retval)' check.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c