diff options
| author | 2026-01-23 09:49:57 +0000 | |
|---|---|---|
| committer | 2026-02-03 07:56:24 +0100 | |
| commit | 6f926597f9837577f5ada47eaa764fea4a2ca9a3 (patch) | |
| tree | d8acdc69f059745320d3101a8b55c6c7af5041a6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | btrfs: fix block_group_tree dirty_list corruption (diff) | |
btrfs: abort transaction on error in btrfs_remove_block_group()
When btrfs_remove_block_group() fails we abort the transaction in its
single caller (btrfs_remove_chunk()). This makes it harder to find out
where exactly the failure happened, as several steps inside
btrfs_remove_block_group() can fail.
So make btrfs_remove_block_group() abort the transaction whenever an
error happens, instead of aborting in its caller.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
