• Al Viro's avatar
    namei: move link/cookie pairs into nameidata · 697fc6ca
    Al Viro authored
    Array of MAX_NESTED_LINKS + 1 elements put into nameidata;
    what used to be a local array in link_path_walk() occupies
    entries 1 .. MAX_NESTED_LINKS in it, link and cookie from
    the trailing symlink handling loops - entry 0.
    
    This is _not_ the final arrangement; just an easily verified
    incremental step.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    697fc6ca
namei.c 113 KB