Commit 1dceae4c authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: unlock_long() before resort in journal replay

Fix another SRCU splat - this one pretty harmless.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent cecc3282
......@@ -322,6 +322,7 @@ int bch2_journal_replay(struct bch_fs *c)
}
}
bch2_trans_unlock_long(trans);
/*
* Now, replay any remaining keys in the order in which they appear in
* the journal, unpinning those journal entries as we go:
......
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