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

Commit 0a959df5 authored by Al Viro's avatar Al Viro
Browse files

namei.c: separate the parts of follow_link() that find the link body



Split a piece of fs/namei.c:follow_link() that does obtaining the link
body into a separate function.  follow_link() itself is converted to
calling get_link() and then doing the body traversal (if any).

The next step will expand follow_link() call in link_path_walk()
and this helps to keep the size down...

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