Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb8603f8 authored by Al Viro's avatar Al Viro
Browse files

link_path_walk: get rid of duplication



What we do after the second walk_component() + put_link() + depth
decrement in there is exactly equivalent to what's done right
after the first walk_component().  Easy to verify and not at all
surprising, seeing that there we have just walked the last
component of nested symlink.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 48c8b0c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment