summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-03-12 23:24:57 +0300
committerDavid Sterba <dsterba@suse.com>2021-04-19 18:25:19 +0300
commit1c7bfa159fe796f0f6d310b02215d765f066b9c2 (patch)
tree58f497b2494a9caa455de014e2d71d122069224c /fs/read_write.c
parentffe30dd892ad37f1193ae639ce7e2ad142a62721 (diff)
downloadlinux-1c7bfa159fe796f0f6d310b02215d765f066b9c2.tar.xz
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 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions