diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-29 14:29:47 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:19 -0400 |
commit | 58a46dc5a2d4073f48a9110a9c343bc2d68a6e88 (patch) | |
tree | 738c27296546f62a03f8373c6e5de7a31e5df455 /fs | |
parent | 9d455b24be5239df23757042703419de9351e461 (diff) | |
download | linux-58a46dc5a2d4073f48a9110a9c343bc2d68a6e88.tar.gz linux-58a46dc5a2d4073f48a9110a9c343bc2d68a6e88.tar.bz2 linux-58a46dc5a2d4073f48a9110a9c343bc2d68a6e88.zip |
bcachefs: allow journal reply on ro mount
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-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 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); } |