btrfs-progs/mkfs
Josef Bacik 9b4207a0f9 btrfs-progs: mkfs: set nritems based on root items written
For the root tree we were just hard setting the nritems to 4, which will
change when we move to extent tree v2.  Instead set the nritems after
we've added all the root items we need to the root tree.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2021-09-03 15:32:40 +02:00
..
common.c btrfs-progs: mkfs: set nritems based on root items written 2021-09-03 15:32:40 +02:00
common.h btrfs-progs: mkfs: get rid of MKFS_SUPER_BLOCK 2021-09-03 15:30:54 +02:00
main.c btrfs-progs: mkfs: update message when creating zoned fs with non-single profiles 2021-07-30 16:13:58 +02:00
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
rootdir.c btrfs-progs: build: remove incomplete android support 2021-05-06 16:41:47 +02:00
rootdir.h btrfs-progs: mkfs/rootdir: Fix memory leak in traverse_directory() 2018-02-14 16:31:19 +01:00