diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-11-15 11:16:19 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:58 +0100 |
commit | 0c7030038e6106711c5d0b237c980905dd3244ec (patch) | |
tree | 1c9b32f7da845300247ef262a48a8ee6c3bce8b8 /fs/btrfs/accessors.h | |
parent | 8009adf306452e9b43db36f2d02fedfe5eca1b5e (diff) | |
download | lwn-0c7030038e6106711c5d0b237c980905dd3244ec.tar.gz lwn-0c7030038e6106711c5d0b237c980905dd3244ec.zip |
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>
Diffstat (limited to 'fs/btrfs/accessors.h')
-rw-r--r-- | fs/btrfs/accessors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/accessors.h b/fs/btrfs/accessors.h index e6228ff73c81..75c181b579eb 100644 --- a/fs/btrfs/accessors.h +++ b/fs/btrfs/accessors.h @@ -889,6 +889,8 @@ BTRFS_SETGET_STACK_FUNCS(super_cache_generation, struct btrfs_super_block, BTRFS_SETGET_STACK_FUNCS(super_magic, struct btrfs_super_block, magic, 64); BTRFS_SETGET_STACK_FUNCS(super_uuid_tree_generation, struct btrfs_super_block, uuid_tree_generation, 64); +BTRFS_SETGET_STACK_FUNCS(super_nr_global_roots, struct btrfs_super_block, + nr_global_roots, 64); /* struct btrfs_file_extent_item */ BTRFS_SETGET_STACK_FUNCS(stack_file_extent_type, struct btrfs_file_extent_item, |