mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
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:
parent
198141e51c
commit
f449067759
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user