]> git.baikalelectronics.ru Git - kernel.git/commit
non-RCU analogue of the previous commit
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Feb 2020 00:19:05 +0000 (19:19 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 2 Apr 2020 05:09:22 +0000 (01:09 -0400)
commitc27759dd77da30a369a4b7cd0731c63aaeac8190
treed445f35666a55d6af1cfbc0b105f47632975c750
parent92d3580dfd9517676c117543d6cc3a870e203c84
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>
fs/namei.c