summaryrefslogtreecommitdiff
path: root/libbcachefs/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/recovery.c')
-rw-r--r--libbcachefs/recovery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/recovery.c b/libbcachefs/recovery.c
index 23f3ed54..2c441a27 100644
--- a/libbcachefs/recovery.c
+++ b/libbcachefs/recovery.c
@@ -864,6 +864,8 @@ int bch2_fs_recovery(struct bch_fs *c)
goto err;
}
bch_verbose(c, "alloc write done");
+
+ set_bit(BCH_FS_ALLOC_WRITTEN, &c->flags);
}
if (!c->sb.clean) {