aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-01-12 13:40:02 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-03-13 21:08:15 -0400
commitcbae4d12eeee6b002a1252c4c45213651e8f4b55 (patch)
tree8d8fc7e67657ce2685962394003b6082e570cb5d /fs/internal.h
parentnew step_into() flag: WALK_NOFOLLOW (diff)
downloadlinux-dev-cbae4d12eeee6b002a1252c4c45213651e8f4b55.tar.xz
linux-dev-cbae4d12eeee6b002a1252c4c45213651e8f4b55.zip
fold handle_mounts() into step_into()
The following is true: * calls of handle_mounts() and step_into() are always paired in sequences like err = handle_mounts(nd, dentry, &path, &inode, &seq); if (unlikely(err < 0)) return err; err = step_into(nd, &path, flags, inode, seq); * in all such sequences path is uninitialized before and unused after this pair of calls * in all such sequences inode and seq are unused afterwards. So the call of handle_mounts() can be shifted inside step_into(), turning 'path' into a local variable in the combined function. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions