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:
59e2fe8
)
Add l_dput assertion.
author
adilger
<adilger>
Mon, 26 Aug 2002 18:12:44 +0000
(18:12 +0000)
committer
adilger
<adilger>
Mon, 26 Aug 2002 18:12:44 +0000
(18:12 +0000)
lustre/include/linux/lustre_lib.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_lib.h
b/lustre/include/linux/lustre_lib.h
index
2b3ff7a
..
62edf8c
100644
(file)
--- a/
lustre/include/linux/lustre_lib.h
+++ b/
lustre/include/linux/lustre_lib.h
@@
-102,6
+102,7
@@
static inline void l_dput(struct dentry *de)
if (!de || IS_ERR(de))
return;
shrink_dcache_parent(de);
+ LASSERT(atomic_read(&de->d_count) > 0);
dput(de);
}