• A
    untangle the "need_reval_dot" mess · 16c2cd71
    Al Viro 提交于
    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: NAl Viro <viro@zeniv.linux.org.uk>
    16c2cd71
namei.h 2.7 KB