From 58a46dc5a2d4073f48a9110a9c343bc2d68a6e88 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 29 Mar 2019 14:29:47 -0400 Subject: [PATCH] bcachefs: allow journal reply on ro mount Signed-off-by: Kent Overstreet --- fs/bcachefs/super.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index f8e921b3fb8d..8c31a9a67eee 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); } -- 2.50.1