Commit 377e8a1a authored by Linus Torvalds's avatar Linus Torvalds

Remove d_drop() at dentry revalidate: the callers know when

the d_drop is appropriate.
parent 250cd4b0
...@@ -566,7 +566,6 @@ static int nfs_lookup_revalidate(struct dentry * dentry, int flags) ...@@ -566,7 +566,6 @@ static int nfs_lookup_revalidate(struct dentry * dentry, int flags)
goto out_valid; goto out_valid;
shrink_dcache_parent(dentry); shrink_dcache_parent(dentry);
} }
d_drop(dentry);
unlock_kernel(); unlock_kernel();
dput(parent); dput(parent);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment