btrfs-progs/mkfs
Josef Bacik 27eaa3b514 btrfs-progs: set the number of global roots in the super block
In order to make sure the file system is consistent we need to record
the number of global roots we should have in the super block.  We could
infer this from the number of global roots we find, however this could
lead to interesting fuzzing problems, so add a source of truth to the
super block in order to make it easier to verify the file system is
consistent.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-03-09 18:07:14 +01:00
..
common.c btrfs-progs: set the number of global roots in the super block 2022-03-09 18:07:14 +01:00
common.h btrfs-progs: mkfs: add support for the block group tree 2022-03-09 18:07:02 +01:00
main.c btrfs-progs: mkfs: add support for the block group tree 2022-03-09 18:07:02 +01:00
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
rootdir.c btrfs-progs: stop passing root to csum related functions 2021-11-22 21:45:37 +01:00
rootdir.h btrfs-progs: unify GPL header comments 2021-09-07 13:58:44 +02:00