• Al Viro's avatar
    non-RCU analogue of the previous commit · 2aa38470
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    2aa38470
namei.c 121 KB