btrfs: move transaction aborts to the error site in remove_block_group_free_space()
authorDavid Sterba <dsterba@suse.com>
Sat, 17 May 2025 19:04:10 +0000 (21:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:50:34 +0000 (23:50 +0200)
commit0b10f3dd13cbbff4965732af86e86a0eb1082dd8
tree4ad065d2e0ace589539007089c324f5719309e5e
parent81bfd9d54767d0ec85853102b9a1a02123458314
btrfs: move transaction aborts to the error site in remove_block_group_free_space()

Transaction aborts should be done next to the place the error happens,
which was not done in remove_block_group_free_space().

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-tree.c