• Al Viro's avatar
    namei: take the treatment of absolute symlinks to get_link() · fab51e8a
    Al Viro authored
    rather than letting the callers handle the jump-to-root part of
    semantics, do it right in get_link() and return the rest of the
    body for the caller to deal with - at that point it's treated
    the same way as relative symlinks would be.  And return NULL
    when there's no "rest of the body" - those are treated the same
    as pure jump symlink would be.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    fab51e8a
namei.c 113 KB