mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
bdf6cbf179
commit
32cd74685c
1 changed files with 29 additions and 11 deletions
40
fs/namei.c
40
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue