patch-2.3.99-pre4 linux/kernel/fork.c
Next file: linux/kernel/kmod.c
Previous file: linux/kernel/exit.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Apr  2 15:49:09 2000
-  Orig file: 
v2.3.99-pre3/linux/kernel/fork.c
-  Orig date: 
Tue Mar 14 19:10:40 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/kernel/fork.c linux/kernel/fork.c
@@ -432,6 +432,8 @@
 	tsk->fs->umask = current->fs->umask;
 	tsk->fs->root = dget(current->fs->root);
 	tsk->fs->pwd = dget(current->fs->pwd);
+	tsk->fs->rootmnt = mntget(current->fs->rootmnt);
+	tsk->fs->pwdmnt = mntget(current->fs->pwdmnt);
 	return 0;
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)