aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-01-09 14:58:31 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-03-13 21:00:32 -0400
commit20e343571cefe31b3dba3e61c9b057781fbce40a (patch)
tree8ff08a4aebf66b5535f5ab4f3ad9072678264686 /tools/perf/scripts/python
parentteach handle_mounts() to handle RCU mode (diff)
downloadlinux-20e343571cefe31b3dba3e61c9b057781fbce40a.tar.gz
linux-20e343571cefe31b3dba3e61c9b057781fbce40a.zip
lookup_fast(): take mount traversal into callers
Current calling conventions: -E... on error, 0 on cache miss, result of handle_mounts(nd, dentry, path, inode, seqp) on success. Turn that into returning ERR_PTR(-E...), NULL and dentry resp.; deal with handle_mounts() in the callers. The thing is, they already do that in cache miss handling case, so we just need to supply dentry to them and unify the mount traversal in those cases. Fewer arguments that way, and we get closer to merging handle_mounts() and step_into(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions