Commit f4490677 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Print out OPT_SECTORS options in bytes

This matches the conversion the parsing code does.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent 198141e5
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment