summaryrefslogtreecommitdiff
path: root/libbcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-08 19:19:05 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-04-08 19:26:30 -0400
commit986533d8d5b21c8eb512bbb3f0496d3d2a087c5d (patch)
tree1ac7e802b7deb2dffab6c10d58f22a206878bcf5 /libbcachefs/super.c
parent7f77afa955e81da5a55b55e22e7e6f9fee1709a5 (diff)
Update bcachefs sources to 6ddf061e68 bcachefs: Use a genradix for reading journal entries
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r--libbcachefs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c
index aee3206c..e03c03ff 100644
--- a/libbcachefs/super.c
+++ b/libbcachefs/super.c
@@ -450,7 +450,7 @@ static void __bch2_fs_free(struct bch_fs *c)
bch2_io_clock_exit(&c->io_clock[READ]);
bch2_fs_compress_exit(c);
bch2_journal_keys_free(&c->journal_keys);
- bch2_journal_entries_free(&c->journal_entries);
+ bch2_journal_entries_free(c);
percpu_free_rwsem(&c->mark_lock);
if (c->btree_paths_bufs)
@@ -668,7 +668,6 @@ static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts)
INIT_WORK(&c->journal_seq_blacklist_gc_work,
bch2_blacklist_entries_gc);
- INIT_LIST_HEAD(&c->journal_entries);
INIT_LIST_HEAD(&c->journal_iters);
INIT_LIST_HEAD(&c->fsck_errors);