From: Kent Overstreet Date: Sun, 6 Apr 2025 17:38:11 +0000 (-0400) Subject: bcachefs: Fix duplicate "ro,read_only" in opts at startup X-Git-Tag: v6.15-rc2~16^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ec94a9f6dd870a4d9c799d26e440c8f6b6268d2;p=thirdparty%2Fkernel%2Flinux.git bcachefs: Fix duplicate "ro,read_only" in opts at startup Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index a58edde43bee3..16ebea1214af5 100644 --- 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);