diff options
| author | 2021-11-05 16:45:35 -0400 | |
|---|---|---|
| committer | 2022-01-03 15:09:47 +0100 | |
| commit | 9f05c09d6baef789726346397438cca4ec43c3ee (patch) | |
| tree | d0cf7442c08318dece6966812bff7719cca18678 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | btrfs: remove BUG_ON() in find_parent_nodes() (diff) | |
| download | linux-dev-9f05c09d6baef789726346397438cca4ec43c3ee.tar.xz linux-dev-9f05c09d6baef789726346397438cca4ec43c3ee.zip | |
btrfs: remove BUG_ON(!eie) in find_parent_nodes
If we're looking for leafs that point to a data extent we want to record
the extent items that point at our bytenr. At this point we have the
reference and we know for a fact that this leaf should have a reference
to our bytenr. However if there's some sort of corruption we may not
find any references to our leaf, and thus could end up with eie == NULL.
Replace this BUG_ON() with an ASSERT() and then return -EUCLEAN for the
mortals.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
