diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-06 13:38:11 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-06 19:13:47 -0400 |
commit | c5391e3401fee5453b34e8feb3aba3bfc2014e00 (patch) | |
tree | 92ae14a5468ca2d63539cc050ad687dd993421bd | |
parent | c319901611998dd57a7399c93e134e174297772e (diff) |
bcachefs: Fix duplicate "ro,read_only" in opts at startup
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r-- | fs/bcachefs/super.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index 80cadecd37e9..af4e48038156 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -1038,12 +1038,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); |