diff options
author | 2021-03-12 15:25:05 -0500 | |
---|---|---|
committer | 2021-04-19 17:25:20 +0200 | |
commit | 2002ae112a7415403896c66971532c2bb8d09ab7 (patch) | |
tree | 4f2f5c13580f5e6592997c95fd106c52d3c20054 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: handle btrfs_record_root_in_trans failure in btrfs_delete_subvolume (diff) | |
download | wireguard-linux-2002ae112a7415403896c66971532c2bb8d09ab7.tar.xz wireguard-linux-2002ae112a7415403896c66971532c2bb8d09ab7.zip |
btrfs: handle btrfs_record_root_in_trans failure in btrfs_recover_log_trees
btrfs_record_root_in_trans will return errors in the future, so handle
the error properly in btrfs_recover_log_trees.
This appears tricky, however we have a reference count on the
destination root, so if this fails we need to continue on in the loop to
make sure the proper cleanup is done.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions