patch-2.1.44 linux/kernel/exit.c
Next file: linux/kernel/fork.c
Previous file: linux/include/net/x25.h
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Tue Jul  1 14:19:02 1997
-  Orig file: 
v2.1.43/linux/kernel/exit.c
-  Orig date: 
Mon Jun 16 16:36:01 1997
diff -u --recursive --new-file v2.1.43/linux/kernel/exit.c linux/kernel/exit.c
@@ -404,8 +404,8 @@
 	if (fs) {
 		tsk->fs = NULL;
 		if (!--fs->count) {
-			iput(fs->root);
-			iput(fs->pwd);
+			dput(fs->root);
+			dput(fs->pwd);
 			kfree(fs);
 		}
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov