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

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