]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1628888e04022152863169ee325c42a4743bb38
tree675ff9450e7eafa62da07c63bc4262964909246c
parentf1eb3c3d745b27e32cea0c00d75887676018a2e6
do_last: regularize the logics around following symlinks

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