]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca0eda566b2d9b4b46cae363986a1c443c2cbe65
tree380694adc5f0fdaa6dda47490e06641f5c53564d
parent400befa6109a53b176413afc84a4094e92bf7907
link_path_walk: nd->depth massage, part 9

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