link_path_walk: final preparations to killing recursion
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 19 Apr 2015 00:21:40 +0000 (20:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:19:57 +0000 (22:19 -0400)
commitbdf6cbf17923c08dafca70f0231817de1f9d1f30
treec237ba7f2ed3876c0197cbeff839eec8b7e6ee8e
parentbb8603f8e166e49f02f865213feee7afddeac9b0
link_path_walk: final preparations to killing recursion

reduce the number of returns in there - turn all places
where it returns zero into goto OK and places where it
returns non-zero into goto Err.  The only non-trivial
detail is that all breaks in the loop are guaranteed
to be with non-zero err.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c