diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-01-23 09:49:57 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 07:56:24 +0100 |
| commit | 6f926597f9837577f5ada47eaa764fea4a2ca9a3 (patch) | |
| tree | d8acdc69f059745320d3101a8b55c6c7af5041a6 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 3a1f4264daed4b419c325a7fe35e756cada3cf82 (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/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
