diff options
| author | David Sterba <dsterba@suse.com> | 2024-01-24 00:23:49 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:48 +0100 |
| commit | 0896ce7550399a32a77a25a21eeb8daaae398f7f (patch) | |
| tree | edd369c49c95cf717465debea80dcba588a2c9fd /tools/perf/scripts/python | |
| parent | btrfs: unify handling of return values of btrfs_insert_empty_items() (diff) | |
| download | linux-0896ce7550399a32a77a25a21eeb8daaae398f7f.tar.gz linux-0896ce7550399a32a77a25a21eeb8daaae398f7f.zip | |
btrfs: move transaction abort to the error site in btrfs_delete_free_space_tree()
The recommended pattern for transaction abort after error is to place it
right after the error is handled. That way it's easier to locate where
it failed and help debugging.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
