aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-01-16 22:05:18 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-27 14:43:55 -0500
commit1c9f5e06a613cc48608db1a4207b8bd5ebe70a81 (patch)
treee7cf80bfc47a94dc5642ac96b8adcf9f0a49473b /fs/open.c
parentfollow_automount(): get rid of dead^Wstillborn code (diff)
downloadlinux-dev-1c9f5e06a613cc48608db1a4207b8bd5ebe70a81.tar.xz
linux-dev-1c9f5e06a613cc48608db1a4207b8bd5ebe70a81.zip
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