diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-29 14:29:47 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-29 14:35:08 -0400 |
commit | 1712318522fdaa533f8622f4c7da05e44a4828b0 (patch) | |
tree | 9480acc474e0e75d0605c34c787cd55238a2f0a5 | |
parent | 4158220b72e334b63381aa039e3b1f98e9932b63 (diff) |
bcachefs: allow journal reply on ro mount
-rw-r--r-- | fs/bcachefs/super.c | 3 |
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); } |