diff options
author | 2021-03-12 15:25:32 -0500 | |
---|---|---|
committer | 2021-04-19 17:25:22 +0200 | |
commit | 8717cf440db670ba87596d8f5f6660d2a94f4401 (patch) | |
tree | e64a920d111adc17af8f9311e99af1cb2022aced /tools/perf/scripts/python/export-to-sqlite.py | |
parent | btrfs: cleanup error handling in prepare_to_merge (diff) | |
download | wireguard-linux-8717cf440db670ba87596d8f5f6660d2a94f4401.tar.xz wireguard-linux-8717cf440db670ba87596d8f5f6660d2a94f4401.zip |
btrfs: handle extent corruption with select_one_root properly
In corruption cases we could have paths from a block up to no root at
all, and thus we'll BUG_ON(!root) in select_one_root. Handle this by
adding an ASSERT() for developers, and returning an error for normal
users.
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions