do_last: regularize the logics around following symlinks
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 22 Apr 2015 16:10:45 +0000 (12:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:18:31 +0000 (22:18 -0400)
With LOOKUP_FOLLOW we unlazy and return 1; without it we either
fail with ELOOP or, for O_PATH opens, succeed.  No need to mix
those cases...

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

diff --cc fs/namei.c
Simple merge