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

pull handling of one pathname component into a helper



new helper: walk_component().  Handles everything except symlinks;
returns negative on error, 0 on success and 1 on symlinks we decided
to follow.  Drops out of RCU mode on such symlinks.

link_path_walk() and do_last() switched to using that.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 11a7b371
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