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

tidy the trailing symlinks traversal up



* pull the handling of current->total_link_count into
__do_follow_link()
* put the common "do ->put_link() if needed and path_put() the link"
  stuff into a helper (put_link(nd, link, cookie))
* rename __do_follow_link() to follow_link(), while we are at it

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