patch-2.2.11 linux/fs/nfs/dir.c
Next file: linux/fs/pipe.c
Previous file: linux/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 9 12:04:57 1999
- Orig file:
v2.2.10/linux/fs/nfs/dir.c
- Orig date:
Sat May 8 23:18:22 1999
diff -u --recursive --new-file v2.2.10/linux/fs/nfs/dir.c linux/fs/nfs/dir.c
@@ -463,6 +463,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)