diff options
author | 2021-03-12 15:25:20 -0500 | |
---|---|---|
committer | 2021-04-19 17:25:21 +0200 | |
commit | 592fbcd50c99b8adf999a2a54f9245caff333139 (patch) | |
tree | e339297d776f7b1b8a66d5cf65ece6fff09ae60e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: handle btrfs_update_reloc_root failure in prepare_to_merge (diff) | |
download | wireguard-linux-592fbcd50c99b8adf999a2a54f9245caff333139.tar.xz wireguard-linux-592fbcd50c99b8adf999a2a54f9245caff333139.zip |
btrfs: do proper error handling in btrfs_update_reloc_root
We call btrfs_update_root in btrfs_update_reloc_root, which can fail for
all sorts of reasons, including IO errors. Instead of panicing the box
lets return the error, now that all callers properly handle those
errors.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
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