Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a729b8
)
- part one of prune fix.
author
braam
<braam>
Tue, 2 Apr 2002 16:33:31 +0000
(16:33 +0000)
committer
braam
<braam>
Tue, 2 Apr 2002 16:33:31 +0000
(16:33 +0000)
lustre/include/linux/lustre_mds.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_mds.h
b/lustre/include/linux/lustre_mds.h
index
764ef33
..
3f445e8
100644
(file)
--- a/
lustre/include/linux/lustre_mds.h
+++ b/
lustre/include/linux/lustre_mds.h
@@
-34,9
+34,16
@@
static inline void l_dput(struct dentry *de)
{
+ struct dentry *parent;
if (!de || IS_ERR(de))
return;
+ shrink_dcache_parent(de);
+ parent = de->d_parent;
+ if (parent)
+ dget(parent);
dput(de);
+ if (parent)
+ shrink_dcache_parent(parent);
}
#define LUSTRE_MDS_NAME "mds"