diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2020-01-14 09:55:16 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-13 21:08:17 -0400 |
| commit | 43679723d27f5173a01fc343fb8bf61be5ae04ed (patch) | |
| tree | 3596062f82b87a5545fa8806e49aefdbe66b2e18 /tools/perf/scripts/python/bin | |
| parent | expand the only remaining call of path_lookup_conditional() (diff) | |
| download | linux-43679723d27f5173a01fc343fb8bf61be5ae04ed.tar.gz linux-43679723d27f5173a01fc343fb8bf61be5ae04ed.zip | |
merging pick_link() with get_link(), part 1
Move restoring LOOKUP_PARENT and zeroing nd->stack.name[0] past
the call of get_link() (nothing _currently_ uses them in there).
That allows to moved the call of may_follow_link() into get_link()
as well, since now the presence of LOOKUP_PARENT distinguishes
the callers from each other (link_path_walk() has it, trailing_symlink()
doesn't).
Preparations for folding trailing_symlink() into callers (lookup_last()
and do_last()) and changing the calling conventions of those. Next
stage after that will have get_link() call migrate into walk_component(),
then - into step_into(). It's tricky enough to warrant doing that
in stages, unfortunately...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
