diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2024-10-03 11:43:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:04:43 +0100 |
| commit | d3ef1a2f77b81af3de2fce6c09185a35df6b0dea (patch) | |
| tree | f6814a4f438de9ffd114a98a9ce66916a805c10a /kernel/task_work.c | |
| parent | 5975577d8cd4bab6d9d4987d8b5f4f01d30e71db (diff) | |
| download | linux-d3ef1a2f77b81af3de2fce6c09185a35df6b0dea.tar.gz linux-d3ef1a2f77b81af3de2fce6c09185a35df6b0dea.tar.bz2 linux-d3ef1a2f77b81af3de2fce6c09185a35df6b0dea.zip | |
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 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions
