]> git.baikalelectronics.ru Git - kernel.git/commit
tidy the trailing symlinks traversal up
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 02:20:34 +0000 (22:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 21:16:25 +0000 (17:16 -0400)
commit249726ef1e35591366972bddffef3095d5a9c38d
treec7669dd50705785f4632ff9b054bcd2e4614ea46
parent2bdfed38038a9efbe3aee54e8c987061a6fe9940
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: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c