diff options
author | Tyler Hicks <tyhicks@linux.microsoft.com> | 2022-05-26 19:00:01 -0500 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@atmark-techno.com> | 2022-07-02 18:52:21 +0900 |
commit | c58c72d301d3d16ba1167d56417af39761829030 (patch) | |
tree | 8117c84e87e8f6167eb1137e230dc8782f641626 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | cba83f47fc0ef52638870890e9e352afcc56dd73 (diff) |
9p: Make the path walk logic more clear about when cloning is required
Cloning during a path component walk is only needed when the old fid
used for the walk operation is the root fid. Make that clear by
comparing the two fids rather than using an additional variable.
Link: https://lkml.kernel.org/r/20220527000003.355812-4-tyhicks@linux.microsoft.com
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions