aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-05-16 16:26:03 +0000
committerDavid Sterba <[email protected]>2025-07-21 13:31:05 +0000
commit227aa55fa2bf4bb81f654c62cbcc6569854c1730 (patch)
tree5b3fb998e48fe95bce68d1fa3f7638ff78abb0b8 /fs/btrfs/tree-log.c
parentbtrfs: unfold transaction aborts at btrfs_create_new_inode() (diff)
downloadkernel-227aa55fa2bf4bb81f654c62cbcc6569854c1730.tar.gz
kernel-227aa55fa2bf4bb81f654c62cbcc6569854c1730.zip
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 <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions