Skip to content
Commit d6d95ded authored by Al Viro's avatar Al Viro
Browse files

lookup_one_len_unlocked(): use lookup_dcache()



No need to lock parent just because of ->d_revalidate() on child;
contrary to the stale comment, lookup_dcache() *can* be used without
locking the parent.  Result can be moved as soon as we return, of
course, but the same is true for lookup_one_len_unlocked() itself.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 74ff0ffc
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