Commit f62c302e authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: add comment about metadata_uuid in btrfs_fs_devices



Add comment about metadata_uuid in btrfs_fs_devices.
No functional change.

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c6930d7d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -280,7 +280,19 @@ enum btrfs_read_policy {

struct btrfs_fs_devices {
	u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */

	/*
	 * UUID written into the btree blocks:
	 *
	 * - If metadata_uuid != fsid then super block must have
	 *   BTRFS_FEATURE_INCOMPAT_METADATA_UUID flag set.
	 *
	 * - Following shall be true at all times:
	 *   - metadata_uuid == btrfs_header::fsid
	 *   - metadata_uuid == btrfs_dev_item::fsid
	 */
	u8 metadata_uuid[BTRFS_FSID_SIZE];

	struct list_head fs_list;

	/*