source: branches/fc19-dev/server/common/patches/openafs-d_drop.patch @ 2522

Last change on this file since 2522 was 2522, checked in by achernya, 10 years ago
Merge r2487-r2521 from trunk to branches/fc19-dev
File size: 432 bytes
RevLine 
[2504]1diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
2index fa0ad91..6059add 100644
3--- a/src/afs/LINUX/osi_vnodeops.c
4+++ b/src/afs/LINUX/osi_vnodeops.c
5@@ -1198,10 +1198,9 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
6     if (credp)
7        crfree(credp);
8 
9-    if (!valid) {
10-       shrink_dcache_parent(dp);
11-       d_drop(dp);
12-    }
13+    if (!valid)
14+       d_invalidate(dp);
15+
16     return valid;
17 
18   bad_dentry:
Note: See TracBrowser for help on using the repository browser.