diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-03-12 15:24:57 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-04-19 17:25:19 +0200 |
commit | 1c7bfa159fe796f0f6d310b02215d765f066b9c2 (patch) | |
tree | 58f497b2494a9caa455de014e2d71d122069224c /crypto/essiv.c | |
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 <wqu@suse.com>
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 'crypto/essiv.c')
0 files changed, 0 insertions, 0 deletions