diff options
| author | 2025-12-17 15:53:59 +0000 | |
|---|---|---|
| committer | 2026-02-03 07:50:23 +0100 | |
| commit | 8d206b0c21ef9b230627ff742170130912a1db3a (patch) | |
| tree | 8fa18b2c7d3811257e24b424b0edd4acd60d799a /scripts/Makefile.thinlto | |
| parent | btrfs: move unlikely checks around btrfs_is_shutdown() into the helper (diff) | |
btrfs: avoid transaction commit on error in insert_balance_item()
There's no point in committing the transaction if we failed to insert the
balance item, since we haven't done anything else after we started/joined
the transaction. Also stop using two variables for tracking the return
value and use only 'ret'.
Reviewed-by: Daniel Vacek <neelx@suse.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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
