diff options
author | 2021-03-12 15:25:33 -0500 | |
---|---|---|
committer | 2021-04-19 17:25:22 +0200 | |
commit | 24213fa46c7080c31d79aa2e3e2f0d9480cab700 (patch) | |
tree | c5b5630cc1646c40e1e963e6526af356ab562086 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: handle extent corruption with select_one_root properly (diff) | |
download | wireguard-linux-24213fa46c7080c31d79aa2e3e2f0d9480cab700.tar.xz wireguard-linux-24213fa46c7080c31d79aa2e3e2f0d9480cab700.zip |
btrfs: do proper error handling in merge_reloc_roots
We have a BUG_ON() if we get an error back from btrfs_get_fs_root().
This honestly should never fail, as at this point we have a solid
coordination of fs root to reloc root, and these roots will all be in
memory. But in the name of killing BUG_ON()'s remove these and handle
the error condition properly, ASSERT()'ing for developers.
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