commit | 1c9f5e06a613cc48608db1a4207b8bd5ebe70a81 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Jan 16 22:05:18 2020 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Feb 27 14:43:55 2020 -0500 |
tree | e7cf80bfc47a94dc5642ac96b8adcf9f0a49473b | |
parent | 25e195aa1e607f129ab912d29fcfc79239703307 [diff] |
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>