diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-14 21:54:55 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-15 17:16:25 -0400 |
commit | b356379a020bb7197603118bb1cbc903963aa198 (patch) | |
tree | 834722d850b2f6a82a07464680244847ed477755 /lib/rwsem-spinlock.c | |
parent | ce0525449da56444948c368f52e10f3db0465338 (diff) | |
download | op-kernel-dev-b356379a020bb7197603118bb1cbc903963aa198.zip op-kernel-dev-b356379a020bb7197603118bb1cbc903963aa198.tar.gz |
Turn resolution of trailing symlinks iterative everywhere
The last remaining place (resolution of nested symlink) converted
to the loop of the same kind we have in path_lookupat() and
path_openat().
Note that we still *do* have a recursion in pathname resolution;
can't avoid it, really. However, it's strictly for nested symlinks
now - i.e. ones in the middle of a pathname.
link_path_walk() has lost the tail now - it always walks everything
except the last component.
do_follow_link() renamed to nested_symlink() and moved down.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions