patch-2.1.112 linux/fs/open.c

Next file: linux/fs/ufs/Makefile
Previous file: linux/fs/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.111/linux/fs/open.c linux/fs/open.c
@@ -674,6 +674,7 @@
 	if (f->f_mode & FMODE_WRITE)
 		put_write_access(inode);
 cleanup_dentry:
+	f->f_dentry = NULL;
 	dput(dentry);
 cleanup_file:
 	put_filp(f);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov