mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-17 03:45:09 +00:00
65dde617b1
While running make test on other patches I noticed we are now segfaulting on the fuzz tests. This is because when I converted us to a rb tree for the global roots we lost the ability to catch that there's no extent root at all. Before we'd populate a dummy fs_info->extent_root with a not uptodate node, but now you simply don't get an extent root in the rb_tree. Fix the check_global_roots_uptodate helper to count how many roots we find and make sure it matches the number we expect. If it doesn't then we can return -EIO. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
btrfsck.h | ||
common.h | ||
main.c | ||
mode-common.c | ||
mode-common.h | ||
mode-lowmem.c | ||
mode-lowmem.h | ||
mode-original.h | ||
qgroup-verify.c | ||
qgroup-verify.h |