link_path_walk: kill the recursion
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 19 Apr 2015 00:30:49 +0000 (20:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:19:58 +0000 (22:19 -0400)
commit32cd74685c75fada80c9444cde150434702aba56
treea424abaed784474a336343b45c25cc57f5d52a21
parentbdf6cbf17923c08dafca70f0231817de1f9d1f30
link_path_walk: kill the recursion

absolutely straightforward now - the only variables we need to preserve
across the recursive call are name, link and cookie, and recursion depth
is limited (and can is equal to nd->depth).  So arrange an array of
triples to hold instances of those and be done with that.

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