Commit f707e3d8 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: fix kasan splat

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 09bf409b
...@@ -721,10 +721,12 @@ int bch2_fs_recovery(struct bch_fs *c) ...@@ -721,10 +721,12 @@ int bch2_fs_recovery(struct bch_fs *c)
ret = bch2_blacklist_table_initialize(c); ret = bch2_blacklist_table_initialize(c);
if (!list_empty(&journal_entries)) {
ret = verify_journal_entries_not_blacklisted_or_missing(c, ret = verify_journal_entries_not_blacklisted_or_missing(c,
&journal_entries); &journal_entries);
if (ret) if (ret)
goto err; goto err;
}
ret = bch2_fs_journal_start(&c->journal, journal_seq, ret = bch2_fs_journal_start(&c->journal, journal_seq,
&journal_entries); &journal_entries);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment