diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-07-08 15:58:35 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2020-07-08 15:58:35 -0400 |
commit | b867ddadb35c0e5d6a842553666e55331484cc34 (patch) | |
tree | 81b7a97f859e48fe4701a6906a73900666fb68b3 /libbcachefs.c | |
parent | ecdf4b64add12bd146dfd2b00f793e723230bcc4 (diff) |
print out sequence number in show-super
Diffstat (limited to 'libbcachefs.c')
-rw-r--r-- | libbcachefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs.c b/libbcachefs.c index f669088f..3122723a 100644 --- a/libbcachefs.c +++ b/libbcachefs.c @@ -717,6 +717,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout, "Label: %s\n" "Version: %llu\n" "Created: %s\n" + "Squence number: %llu\n" "Block_size: %s\n" "Btree node size: %s\n" "Error action: %s\n" @@ -747,6 +748,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout, label, le64_to_cpu(sb->version), time_str, + le64_to_cpu(sb->seq), pr_units(le16_to_cpu(sb->block_size), units), pr_units(BCH_SB_BTREE_NODE_SIZE(sb), units), |