projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198141e
)
bcachefs: Print out OPT_SECTORS options in bytes
author
Kent Overstreet
<kent.overstreet@gmail.com>
Fri, 10 Dec 2021 19:03:42 +0000
(14:03 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:18 +0000
(17:09 -0400)
This matches the conversion the parsing code does.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/opts.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/opts.c
b/fs/bcachefs/opts.c
index
a955ef2
..
e81e07a
100644
(file)
--- 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)