[PATCH] fix copy_process() error check
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 25 Nov 2006 19:09:34 +0000 (11:09 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 25 Nov 2006 21:28:34 +0000 (13:28 -0800)
commit753ca4f312a4b26940e4731b4fa5dbbbbcc77e97
treebf0ca9aa882e50b681ec72e43998542472752ef6
parenta1b26c32af51d0fd82754bc06b495dd03c2f2d58
[PATCH] fix copy_process() error check

The return value of copy_process() should be checked by IS_ERR().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c