summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-29 14:29:47 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2019-03-29 14:35:08 -0400
commit1712318522fdaa533f8622f4c7da05e44a4828b0 (patch)
tree9480acc474e0e75d0605c34c787cd55238a2f0a5
parent4158220b72e334b63381aa039e3b1f98e9932b63 (diff)
bcachefs: allow journal reply on ro mount
-rw-r--r--fs/bcachefs/super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 1509c0fff96a..7748dafb324e 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -463,9 +463,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);
}