patch-2.3.15 linux/fs/nfs/dir.c
Next file: linux/fs/nls/Config.in
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 23 10:16:34 1999
- Orig file:
v2.3.14/linux/fs/nfs/dir.c
- Orig date:
Wed Jun 30 11:30:55 1999
diff -u --recursive --new-file v2.3.14/linux/fs/nfs/dir.c linux/fs/nfs/dir.c
@@ -601,6 +601,8 @@
/* Filehandle matches? */
if (memcmp(dentry->d_fsdata, &fhandle, sizeof(struct nfs_fh))) {
+ if (!list_empty(&dentry->d_subdirs))
+ shrink_dcache_parent(dentry);
if (dentry->d_count < 2)
goto out_bad;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)