mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
bcachefs: Print size of superblock with space allocated
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
a6548c8b5e
commit
4ae016607b
@ -1320,7 +1320,9 @@ void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb,
|
||||
|
||||
prt_printf(out, "Superblock size:");
|
||||
prt_tab(out);
|
||||
prt_printf(out, "%zu", vstruct_bytes(sb));
|
||||
prt_units_u64(out, vstruct_bytes(sb));
|
||||
prt_str(out, "/");
|
||||
prt_units_u64(out, 512ULL << sb->layout.sb_max_size_bits);
|
||||
prt_newline(out);
|
||||
|
||||
prt_printf(out, "Clean:");
|
||||
|
Loading…
Reference in New Issue
Block a user