bcachefs: Print out OPT_SECTORS options in bytes

This matches the conversion the parsing code does.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2021-12-10 14:03:42 -05:00 committed by Kent Overstreet
parent 198141e51c
commit f449067759
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ void bch2_opt_to_text(struct printbuf *out, struct bch_fs *c,
pr_buf(out, "%lli", v);
break;
case BCH_OPT_SECTORS:
bch2_hprint(out, v);
bch2_hprint(out, v << 9);
break;
case BCH_OPT_STR:
if (flags & OPT_SHOW_FULL_LIST)