diff options
Diffstat (limited to 'libbcache/btree_gc.c')
-rw-r--r-- | libbcache/btree_gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcache/btree_gc.c b/libbcache/btree_gc.c index 9fa4a2a..5270d44 100644 --- a/libbcache/btree_gc.c +++ b/libbcache/btree_gc.c @@ -933,14 +933,14 @@ int bch_initial_gc(struct bch_fs *c, struct list_head *journal) { enum btree_id id; - bch_mark_metadata(c); - for (id = 0; id < BTREE_ID_NR; id++) bch_initial_gc_btree(c, id); if (journal) bch_journal_mark(c, journal); + bch_mark_metadata(c); + /* * Skip past versions that might have possibly been used (as nonces), * but hadn't had their pointers written: |