namei: fold put_link() into the failure case of complete_walk()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 8 May 2015 20:28:42 +0000 (16:28 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:20:17 +0000 (22:20 -0400)
... and don't open-code unlazy_walk() in there - the only reason
for that is to avoid verfication of cached nd->root, which is
trivially avoided by discarding said cached nd->root first.

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

diff --cc fs/namei.c
Simple merge