summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-29 14:29:47 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:19 -0400
commit58a46dc5a2d4073f48a9110a9c343bc2d68a6e88 (patch)
tree738c27296546f62a03f8373c6e5de7a31e5df455 /fs
parent9d455b24be5239df23757042703419de9351e461 (diff)
downloadlinux-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.c3
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);
}