diff options
| author | Johannes Thumshirn <[email protected]> | 2020-06-02 19:05:57 +0900 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-07-27 12:55:20 +0200 |
| commit | e3ba67a108ff5a2657990014d3ed4488bd665be6 (patch) | |
| tree | 21fce13358e04de172d199c0637c99ab281ab688 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 89d7da9bc592aa6a341d00f2d949615a89bb1eb7 (diff) | |
btrfs: factor out reading of bg from find_frist_block_group
When find_first_block_group() finds a block group item in the extent-tree,
it does a lookup of the object in the extent mapping tree and does further
checks on the item.
Factor out this step from find_first_block_group() so we can further
simplify the code.
While we're at it, we can also just return early in
find_first_block_group(), if the tree slot isn't found.
Signed-off-by: Johannes Thumshirn <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions