summaryrefslogtreecommitdiff
path: root/fs/btrfs/reflink.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-05-16 17:26:03 +0100
committerDavid Sterba <dsterba@suse.com>2025-07-21 15:31:05 +0200
commit227aa55fa2bf4bb81f654c62cbcc6569854c1730 (patch)
tree5b3fb998e48fe95bce68d1fa3f7638ff78abb0b8 /fs/btrfs/reflink.c
parent3f757b56f1c4579fe32b810bce1d39f202964412 (diff)
btrfs: unfold transaction abort at __btrfs_inc_extent_ref()
Instead of having a common btrfs_abort_transaction() call for when either insert_tree_block_ref() failed or when insert_extent_data_ref() failed, move the btrfs_abort_transaction() to happen immediately after each one of those calls, so that when analysing a stack trace with a transaction abort we know which call failed. Reviewed-by: Boris Burkov <boris@bur.io> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/reflink.c')
0 files changed, 0 insertions, 0 deletions