From f44906775981e368b77474f0c0750e9d1a4f229b Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 10 Dec 2021 14:03:42 -0500 Subject: bcachefs: Print out OPT_SECTORS options in bytes This matches the conversion the parsing code does. Signed-off-by: Kent Overstreet --- fs/bcachefs/opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/bcachefs/opts.c') diff --git a/fs/bcachefs/opts.c b/fs/bcachefs/opts.c index a955ef2008c9..e81e07a383bb 100644 --- a/fs/bcachefs/opts.c +++ b/fs/bcachefs/opts.c @@ -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) -- cgit v1.2.3