• Al Viro's avatar
    link_path_walk: kill the recursion · 32cd7468
    Al Viro authored
    absolutely straightforward now - the only variables we need to preserve
    across the recursive call are name, link and cookie, and recursion depth
    is limited (and can is equal to nd->depth).  So arrange an array of
    triples to hold instances of those and be done with that.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    32cd7468
namei.c 113 KB