Skip to content

Commit 1ec94a9

Browse files
author
Kent Overstreet
committed
bcachefs: Fix duplicate "ro,read_only" in opts at startup
Signed-off-by: Kent Overstreet <[email protected]>
1 parent 34b47e3 commit 1ec94a9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/bcachefs/super.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,12 +1002,6 @@ static void print_mount_opts(struct bch_fs *c)
10021002
prt_str(&p, "starting version ");
10031003
bch2_version_to_text(&p, c->sb.version);
10041004

1005-
if (c->opts.read_only) {
1006-
prt_str(&p, " opts=");
1007-
first = false;
1008-
prt_printf(&p, "ro");
1009-
}
1010-
10111005
for (i = 0; i < bch2_opts_nr; i++) {
10121006
const struct bch_option *opt = &bch2_opt_table[i];
10131007
u64 v = bch2_opt_get_by_id(&c->opts, i);

0 commit comments

Comments
 (0)