namei.c: separate the parts of follow_link() that find the link body
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Apr 2015 22:23:41 +0000 (18:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:19:50 +0000 (22:19 -0400)
commit0a959df54b088d38371ebae4b1d7bc3112f6ef62
treed35ff7203e0f0877fef19ebd4b25740702418d98
parent680baacbca69d18a6d7315374ad83d05ac9c0977
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: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c