diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-10-30 17:43:24 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 16:51:37 +0300 |
commit | de37aa513105f864d3c21105bf5542d498f21ca2 (patch) | |
tree | 309336759425188e213244d654f8abfdcf16f955 /fs/btrfs/ctree.h | |
parent | 56f20f4009d3c0b2e6165d9136fed40028c8225d (diff) | |
download | linux-de37aa513105f864d3c21105bf5542d498f21ca2.tar.xz |
btrfs: Remove fsid/metadata_fsid fields from btrfs_info
Currently btrfs_fs_info structure contains a copy of the
fsid/metadata_uuid fields. Same values are also contained in the
btrfs_fs_devices structure which fs_info has a reference to. Let's
reduce duplication by removing the fields from fs_info and always refer
to the ones in fs_devices. No functional changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index f8429cd8afb6..d2a930279a1a 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -773,10 +773,6 @@ bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr); #define BTRFS_FS_BALANCE_RUNNING 18 struct btrfs_fs_info { - /* User-visible fs UUID */ - u8 fsid[BTRFS_FSID_SIZE]; - /* UUID written to btree blocks */ - u8 metadata_fsid[BTRFS_FSID_SIZE]; u8 chunk_tree_uuid[BTRFS_UUID_SIZE]; unsigned long flags; struct btrfs_root *extent_root; |