diff options
author | Josef Bacik <[email protected]> | 2021-03-12 15:24:57 -0500 |
---|---|---|
committer | David Sterba <[email protected]> | 2021-04-19 17:25:19 +0200 |
commit | 1c7bfa159fe796f0f6d310b02215d765f066b9c2 (patch) | |
tree | 58f497b2494a9caa455de014e2d71d122069224c /tools/perf/scripts/python/syscall-counts.py | |
parent | ffe30dd892ad37f1193ae639ce7e2ad142a62721 (diff) |
btrfs: convert BUG_ON()'s in relocate_tree_block
We have a couple of BUG_ON()'s in relocate_tree_block() that can be
tripped if we have file system corruption. Convert these to ASSERT()'s
so developers still get yelled at when they break the backref code, but
error out nicely for users so the whole box doesn't go down.
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions