]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17ccd2dd7ea717229357bbbe4cdef014e704608f
treed35ff7203e0f0877fef19ebd4b25740702418d98
parente7671aced9427b1f0de72123a1307a048c5830e6
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