diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-16 14:51:41 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-16 14:51:41 -0800 |
commit | bb1941de5378a7b8122d3575dcbc7d0aeb6326f0 (patch) | |
tree | fb0920334591a34e2673c3cfc63d07ac20ba0b92 /libbcache/btree_gc.c | |
parent | ac296ad4dcd32a4e7618716782fc3f2b69d03a74 (diff) |
update bcache sourcesdev
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: |