• Al Viro's avatar
    link_path_walk: get rid of duplication · bb8603f8
    Al Viro authored
    What we do after the second walk_component() + put_link() + depth
    decrement in there is exactly equivalent to what's done right
    after the first walk_component().  Easy to verify and not at all
    surprising, seeing that there we have just walked the last
    component of nested symlink.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    bb8603f8
namei.c 112 KB