]> git.openpandora.org Git - pandora-kernel.git/commitdiff
link_path_walk: nd->depth massage, part 9
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 May 2015 01:16:35 +0000 (21:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:20:06 +0000 (22:20 -0400)
Make link_path_walk() work with any value of nd->depth on entry -
memorize it and use it in tests instead of comparing with 1.
Don't bother with increment/decrement in path_init().

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

diff --cc fs/namei.c
Simple merge