• A
    Preparations to caching root in path_walk() · 9b4a9b14
    Al Viro 提交于
    Split do_path_lookup(), opencode the call from do_filp_open()
    do_filp_open() is the only caller of do_path_lookup() that
    cares about root afterwards (it keeps resolving symlinks on
    O_CREAT path after it'd done LOOKUP_PARENT walk).  So when
    we start caching fs->root in path_walk(), it'll need a different
    treatment.
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    9b4a9b14
namei.c 70.3 KB