Skip to content
  • Al Viro's avatar
    untangle the "need_reval_dot" mess · 16c2cd71
    Al Viro authored
    
    
    instead of ad-hackery around need_reval_dot(), do the following:
    set a flag (LOOKUP_JUMPED) in the beginning of path, on absolute
    symlink traversal, on ".." and on procfs-style symlinks.  Clear on
    normal components, leave unchanged on ".".  Non-nested callers of
    link_path_walk() call handle_reval_path(), which checks that flag
    is set and that fs does want the final revalidate thing, then does
    ->d_revalidate().  In link_path_walk() all the return_reval stuff
    is gone.
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    16c2cd71