Skip to content

Commit a79cf3b

Browse files
asjkdave
authored andcommitted
btrfs-progs: add CHANGING_FSID_V2 to print-tree
Add the DEF_SUPER_FLAG_ENTRY for CHANGING_FSID_V2 to our btrfs-progs' print-tree.c, as it is currently missing in the dump-super output, which was too confusing. Before: flags 0x1000000001 ( WRITTEN ) After: flags 0x1000000001 ( WRITTEN | CHANGING_FSID_V2 ) Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Anand Jain <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 9d2c8c3 commit a79cf3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel-shared/print-tree.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,6 +1721,7 @@ static struct readable_flag_entry super_flags_array[] = {
17211721
DEF_HEADER_FLAG_ENTRY(WRITTEN),
17221722
DEF_HEADER_FLAG_ENTRY(RELOC),
17231723
DEF_SUPER_FLAG_ENTRY(CHANGING_FSID),
1724+
DEF_SUPER_FLAG_ENTRY(CHANGING_FSID_V2),
17241725
DEF_SUPER_FLAG_ENTRY(SEEDING),
17251726
DEF_SUPER_FLAG_ENTRY(METADUMP),
17261727
DEF_SUPER_FLAG_ENTRY(METADUMP_V2)
@@ -1730,6 +1731,7 @@ static const int super_flags_num = ARRAY_SIZE(super_flags_array);
17301731
#define BTRFS_SUPER_FLAG_SUPP (BTRFS_HEADER_FLAG_WRITTEN |\
17311732
BTRFS_HEADER_FLAG_RELOC |\
17321733
BTRFS_SUPER_FLAG_CHANGING_FSID |\
1734+
BTRFS_SUPER_FLAG_CHANGING_FSID_V2 |\
17331735
BTRFS_SUPER_FLAG_SEEDING |\
17341736
BTRFS_SUPER_FLAG_METADUMP |\
17351737
BTRFS_SUPER_FLAG_METADUMP_V2)

0 commit comments

Comments
 (0)