patch-2.3.99-pre7 linux/fs/file_table.c
Next file: linux/fs/hfs/inode.c
Previous file: linux/fs/fat/inode.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon May 8 11:17:47 2000
- Orig file:
v2.3.99-pre6/linux/fs/file_table.c
- Orig date:
Tue Apr 11 15:09:21 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/fs/file_table.c linux/fs/file_table.c
@@ -131,9 +131,9 @@
filp->f_vfsmnt = NULL;
if (filp->f_mode & FMODE_WRITE)
put_write_access(inode);
+ dput(dentry);
if (mnt)
mntput(mnt);
- dput(dentry);
}
void _fput(struct file *file)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)