trailing_symlink: nd->depth massage, part 5
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 May 2015 00:59:58 +0000 (20:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:20:04 +0000 (22:20 -0400)
commitf7df08ee05db41c6d2ec498703401197f6b68373
tree1cefb331d2b16bda8a58ad1c07483580bef65f71
parentef1a3e7b9634cc68740eb1280309ac5e460b95f9
trailing_symlink: nd->depth massage, part 5

move increment of ->depth to the point where we'd discovered
that get_link() has not returned an error, adjust exits
accordingly.

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