From: Kent Overstreet Date: Fri, 29 Mar 2019 18:29:47 +0000 (-0400) Subject: bcachefs: allow journal reply on ro mount X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=58a46dc5a2d4073f48a9110a9c343bc2d68a6e88;p=linux.git bcachefs: allow journal reply on ro mount Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index f8e921b3fb8d7..8c31a9a67eee6 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -432,9 +432,6 @@ int bch2_fs_read_write_early(struct bch_fs *c) { lockdep_assert_held(&c->state_lock); - if (c->opts.read_only) - return -EROFS; - return __bch2_fs_read_write(c, true); }