btrfs: add nr_global_roots to the super block definition
authorJosef Bacik <josef@toxicpanda.com>
Tue, 15 Nov 2022 16:16:19 +0000 (11:16 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:58 +0000 (18:00 +0100)
commit0c7030038e6106711c5d0b237c980905dd3244ec
tree1c9b32f7da845300247ef262a48a8ee6c3bce8b8
parent8009adf306452e9b43db36f2d02fedfe5eca1b5e
btrfs: add nr_global_roots to the super block definition

We already have this defined in btrfs-progs, add it to the kernel to
make it easier to sync these files into btrfs-progs.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/accessors.h
include/uapi/linux/btrfs_tree.h