diff options
| author | Qu Wenruo <[email protected]> | 2020-03-05 14:49:29 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-05-25 11:25:18 +0200 |
| commit | e7d571c7b004dc20f385d53d0c89e99d078e0415 (patch) | |
| tree | c809159a793d584e855fbf03b9bc7bc543145c08 /tools/perf/scripts/python | |
| parent | 0304f2d8cce7fc23baf9e005c095beff7a29847d (diff) | |
btrfs: reloc: remove the open-coded goto loop for breadth-first search
build_backref_tree() uses "goto again;" to implement a breadth-first
search to build backref cache.
This patch will extract most of its work into a wrapper,
handle_one_tree_block(), and use a do {} while() loop to implement the
same thing.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions