mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
bcachefs: fix kasan splat
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
09bf409b46
commit
f707e3d8f4
1 changed files with 6 additions and 4 deletions
|
@ -721,10 +721,12 @@ int bch2_fs_recovery(struct bch_fs *c)
|
|||
|
||||
ret = bch2_blacklist_table_initialize(c);
|
||||
|
||||
ret = verify_journal_entries_not_blacklisted_or_missing(c,
|
||||
&journal_entries);
|
||||
if (ret)
|
||||
goto err;
|
||||
if (!list_empty(&journal_entries)) {
|
||||
ret = verify_journal_entries_not_blacklisted_or_missing(c,
|
||||
&journal_entries);
|
||||
if (ret)
|
||||
goto err;
|
||||
}
|
||||
|
||||
ret = bch2_fs_journal_start(&c->journal, journal_seq,
|
||||
&journal_entries);
|
||||
|
|
Loading…
Reference in a new issue