Skip to content
Commit 9b4a9b14 authored by Al Viro's avatar Al Viro
Browse files

Preparations to caching root in path_walk()



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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4e44b685
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment