diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-10-23 09:58:46 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-11-15 14:44:44 +0100 |
commit | 5e9f2ad5b2904a7e81df6d9a3dbef29478952eac (patch) | |
tree | 627c60136505f4104a5fc306de2d82f4ad323134 /tools/perf/scripts/python | |
parent | f82b735936ffd58b6711cf1f1054616517d8ffcd (diff) |
btrfs: Fix transaction abort during failure in btrfs_rm_dev_item
btrfs_rm_dev_item calls several function under an active transaction,
however it fails to abort it if an error happens. Fix this by adding
explicit btrfs_abort_transaction/btrfs_end_transaction calls.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions