diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-01-16 22:05:18 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-27 14:43:55 -0500 |
commit | 1c9f5e06a613cc48608db1a4207b8bd5ebe70a81 (patch) | |
tree | e7cf80bfc47a94dc5642ac96b8adcf9f0a49473b /fs/open.c | |
parent | 25e195aa1e607f129ab912d29fcfc79239703307 (diff) | |
download | linux-1c9f5e06a613cc48608db1a4207b8bd5ebe70a81.tar.gz |
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>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions