]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d63911b89a81206ca6f83f5b0d8ed65fac0ac44
treec237ba7f2ed3876c0197cbeff839eec8b7e6ee8e
parent8dbdef1ae83d714e3bd5a095d93d349dfba48582
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