]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
bcachefs: allow journal reply on ro mount
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 29 Mar 2019 18:29:47 +0000 (14:29 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:19 +0000 (17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c

index f8e921b3fb8d71b8c70ff1365e59917fb8a42262..8c31a9a67eee6811a7a6a352071df2c365c9be52 100644 (file)
@@ -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);
 }