diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2024-10-03 11:43:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-13 12:47:00 +0100 |
| commit | 30d472400bfac1ae6839e752b6d65cf17159aaf8 (patch) | |
| tree | ba24b1642614e9955a77e29ff62a52fe19cf9f02 /lib/Kconfig.debug | |
| parent | c7a53757717e68af94a56929d57f1e6daff220ec (diff) | |
btrfs: convert BUG_ON in btrfs_reloc_cow_block() to proper error handling
[ Upstream commit 6a4730b325aaa48f7a5d5ba97aff0a955e2d9cec ]
This BUG_ON is meant to catch backref cache problems, but these can
arise from either bugs in the backref cache or corruption in the extent
tree. Fix it to be a proper error.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions
