diff options
| author | Filipe Manana <[email protected]> | 2025-05-16 16:07:40 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-07-21 13:31:05 +0000 |
| commit | 3f757b56f1c4579fe32b810bce1d39f202964412 (patch) | |
| tree | 9c5e7af6d2b2a699a6e07e414700030e086d4f2b /fs/btrfs/tree-log.c | |
| parent | Linux 6.16-rc7 (diff) | |
| download | kernel-3f757b56f1c4579fe32b810bce1d39f202964412.tar.gz kernel-3f757b56f1c4579fe32b810bce1d39f202964412.zip | |
btrfs: unfold transaction aborts at btrfs_create_new_inode()
Instead of having a common btrfs_abort_transaction() call for when either
btrfs_orphan_add() failed or when btrfs_add_link() 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
