projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b47e3
)
bcachefs: Fix duplicate "ro,read_only" in opts at startup
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 6 Apr 2025 17:38:11 +0000
(13:38 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 6 Apr 2025 23:33:53 +0000
(19:33 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/super.c
b/fs/bcachefs/super.c
index a58edde43bee3bf62f47dd7e5b5bbf57e841a341..16ebea1214af5f96aca20f808d3f6d2545a4296d 100644
(file)
--- a/
fs/bcachefs/super.c
+++ b/
fs/bcachefs/super.c
@@
-1002,12
+1002,6
@@
static void print_mount_opts(struct bch_fs *c)
prt_str(&p, "starting version ");
bch2_version_to_text(&p, c->sb.version);
- if (c->opts.read_only) {
- prt_str(&p, " opts=");
- first = false;
- prt_printf(&p, "ro");
- }
-
for (i = 0; i < bch2_opts_nr; i++) {
const struct bch_option *opt = &bch2_opt_table[i];
u64 v = bch2_opt_get_by_id(&c->opts, i);