mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
fd2805be23
commit
a5cfe2d5e1
1 changed files with 7 additions and 8 deletions
15
fs/namei.c
15
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue