• Al Viro's avatar
    Collect "operation mode" arguments of do_last() into a structure · c3e380b0
    Al Viro authored
    No point messing with passing shitloads of "operation mode" arguments
    to do_open() one by one, especially since they are not going to change
    during do_filp_open().  Collect them into a struct, fill it and pass
    to do_last() by reference.
    
    Make sure that lookup intent flags are correctly set and removed - we
    want them for do_last(), but they make no sense for __do_follow_link().
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    c3e380b0
namei.c 85.8 KB