commit | 2aa38470853a65dc9b1b4bd0989d34cd3fc57ebd | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Feb 26 19:19:05 2020 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Apr 02 01:09:22 2020 -0400 |
tree | d445f35666a55d6af1cfbc0b105f47632975c750 | |
parent | 7ef482fa65513b18eed05a5c5f00413aad137810 [diff] |
non-RCU analogue of the previous commit new helper: choose_mountpoint(). Wrapper around choose_mountpoint_rcu(), similar to lookup_mnt() vs. __lookup_mnt(). follow_dotdot() switched to it. Now we don't grab mount_lock exclusive anymore; note that the primitive used non-RCU mount traversals in other direction (lookup_mnt()) doesn't bother with that either - it uses mount_lock seqcount instead. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>