mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
follow_automount() doesn't need the entire nameidata
Only the address of ->total_link_count and the flags. And fix an off-by-one is ELOOP detection - make it consistent with symlink following, where we check if the pre-increment value has reached 40, rather than check the post-increment one. [kudos to Christian Brauner for spotted braino] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
25e195aa1e
commit
1c9f5e06a6
1 changed files with 5 additions and 5 deletions
10
fs/namei.c
10
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue