lookup_one_len_unlocked(): use lookup_dcache()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 6 Mar 2016 03:31:50 +0000 (22:31 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2016 04:15:36 +0000 (00:15 -0400)
commitd6d95ded914eb321b0a2c8c26cdf0a225a0d9917
tree1569fe898c263ae0437c8690cee87be8ac7ece1e
parent74ff0ffc7f0682cb4c00252807d76116b95ecb9e
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: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c