diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-01-23 12:49:57 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 09:56:24 +0300 |
| commit | 6f926597f9837577f5ada47eaa764fea4a2ca9a3 (patch) | |
| tree | d8acdc69f059745320d3101a8b55c6c7af5041a6 /include/linux | |
| parent | 3a1f4264daed4b419c325a7fe35e756cada3cf82 (diff) | |
| download | linux-6f926597f9837577f5ada47eaa764fea4a2ca9a3.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
