summaryrefslogtreecommitdiff
path: root/libbcachefs/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/recovery.c')
-rw-r--r--libbcachefs/recovery.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbcachefs/recovery.c b/libbcachefs/recovery.c
index eae38ea7..f5f3f94e 100644
--- a/libbcachefs/recovery.c
+++ b/libbcachefs/recovery.c
@@ -214,12 +214,12 @@ int bch2_fs_recovery(struct bch_fs *c)
if (ret)
goto err;
- set_bit(BCH_FS_ALLOC_READ_DONE, &c->flags);
-
- err = "cannot allocate memory";
- ret = bch2_fs_ec_start(c);
+ ret = bch2_stripes_read(c, &journal);
if (ret)
goto err;
+ pr_info("stripes_read done");
+
+ set_bit(BCH_FS_ALLOC_READ_DONE, &c->flags);
bch_verbose(c, "starting mark and sweep:");
err = "error in recovery";