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
- Lines: 8
- Date:
Tue Jul 28 11:14:41 1998
- Orig file:
v2.1.111/linux/fs/open.c
- Orig date:
Thu May 14 19:47:43 1998
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