Skip to content
Snippets Groups Projects
Commit 23c5ffd0 authored by Yong Fan's avatar Yong Fan
Browse files

Branch HEAD

b=16303
i=nikita
i=johann

Do not drop reference count for the dentry from VFS when lookup,
VFS will do that by itself.
parent 7068276e
No related merge requests found
...@@ -1129,7 +1129,8 @@ int do_statahead_enter(struct inode *dir, struct dentry **dentryp, int lookup) ...@@ -1129,7 +1129,8 @@ int do_statahead_enter(struct inode *dir, struct dentry **dentryp, int lookup)
&(*dentryp)->d_name); &(*dentryp)->d_name);
if (result) { if (result) {
LASSERT(result != *dentryp); LASSERT(result != *dentryp);
dput(*dentryp); /* BUG 16303: do not drop reference count for
* "*dentryp", VFS will do that by itself. */
*dentryp = result; *dentryp = result;
RETURN(1); RETURN(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment