commit | d6d95ded914eb321b0a2c8c26cdf0a225a0d9917 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Mar 05 22:31:50 2016 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 14 00:15:36 2016 -0400 |
tree | 1569fe898c263ae0437c8690cee87be8ac7ece1e | |
parent | 74ff0ffc7f0682cb4c00252807d76116b95ecb9e [diff] |
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>