Add the version_min field to cmd_show_super

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2021-03-21 15:59:21 -04:00
parent cc92b0f5a2
commit 8a69e01aeb

View File

@ -739,7 +739,8 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
"Internal UUID: %s\n" "Internal UUID: %s\n"
"Device index: %u\n" "Device index: %u\n"
"Label: %s\n" "Label: %s\n"
"Version: %llu\n" "Version: %u\n"
"Oldest version on disk: %u\n"
"Created: %s\n" "Created: %s\n"
"Squence number: %llu\n" "Squence number: %llu\n"
"Block_size: %s\n" "Block_size: %s\n"
@ -772,7 +773,8 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
internal_uuid_str, internal_uuid_str,
sb->dev_idx, sb->dev_idx,
label, label,
le64_to_cpu(sb->version), le16_to_cpu(sb->version),
le16_to_cpu(sb->version_min),
time_str, time_str,
le64_to_cpu(sb->seq), le64_to_cpu(sb->seq),
pr_units(le16_to_cpu(sb->block_size), units), pr_units(le16_to_cpu(sb->block_size), units),