Add these super flags to info kernel not to mount such unfinished fsid/chunk tree id changing. Signed-off-by: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx> --- v2: Newly introduced. --- ctree.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ctree.h b/ctree.h index 10dc838..8dc70a5 100644 --- a/ctree.h +++ b/ctree.h @@ -307,6 +307,8 @@ static inline unsigned long btrfs_chunk_item_size(int num_stripes) #define BTRFS_HEADER_FLAG_WRITTEN (1ULL << 0) #define BTRFS_HEADER_FLAG_RELOC (1ULL << 1) +#define BTRFS_SUPER_FLAG_CHANGING_FSID (1ULL << 30) +#define BTRFS_SUPER_FLAG_CHANGING_CHUNK_TREE_ID (1ULL << 31) #define BTRFS_SUPER_FLAG_SEEDING (1ULL << 32) #define BTRFS_SUPER_FLAG_METADUMP (1ULL << 33) #define BTRFS_SUPER_FLAG_METADUMP_V2 (1ULL << 34) -- 2.4.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
