Skip to content
Commit 1c9f5e06 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 25e195aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment