patch-2.4.23 linux-2.4.23/kernel/fork.c
Next file: linux-2.4.23/kernel/kmod.c
Previous file: linux-2.4.23/init/main.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/kernel/fork.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.22/kernel/fork.c linux-2.4.23/kernel/fork.c
@@ -266,6 +266,7 @@
{
BUG_ON(mm == &init_mm);
pgd_free(mm->pgd);
+ check_pgt_cache();
destroy_context(mm);
free_mm(mm);
}
@@ -746,7 +747,8 @@
goto bad_fork_cleanup_fs;
if (copy_mm(clone_flags, p))
goto bad_fork_cleanup_sighand;
- if (copy_namespace(clone_flags, p))
+ retval = copy_namespace(clone_flags, p);
+ if (retval)
goto bad_fork_cleanup_mm;
retval = copy_thread(0, clone_flags, stack_start, stack_size, p, regs);
if (retval)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)