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:
7068276
)
Branch HEAD
author
fanyong
<fanyong>
Wed, 17 Sep 2008 01:52:36 +0000
(
01:52
+0000)
committer
fanyong
<fanyong>
Wed, 17 Sep 2008 01:52:36 +0000
(
01:52
+0000)
b=16303
i=nikita
i=johann
Do not drop reference count for the dentry from VFS when lookup,
VFS will do that by itself.
lustre/llite/statahead.c
patch
|
blob
|
history
diff --git
a/lustre/llite/statahead.c
b/lustre/llite/statahead.c
index
2e7d099
..
e3f0662
100644
(file)
--- a/
lustre/llite/statahead.c
+++ b/
lustre/llite/statahead.c
@@
-1129,7
+1129,8
@@
int do_statahead_enter(struct inode *dir, struct dentry **dentryp, int lookup)
&(*dentryp)->d_name);
if (result) {
LASSERT(result != *dentryp);
- dput(*dentryp);
+ /* BUG 16303: do not drop reference count for
+ * "*dentryp", VFS will do that by itself. */
*dentryp = result;
RETURN(1);
}