Skip to content

Commit 1dceae4

Browse files
author
Kent Overstreet
committed
bcachefs: unlock_long() before resort in journal replay
Fix another SRCU splat - this one pretty harmless. Signed-off-by: Kent Overstreet <[email protected]>
1 parent cecc328 commit 1dceae4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/bcachefs/recovery.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ int bch2_journal_replay(struct bch_fs *c)
322322
}
323323
}
324324

325+
bch2_trans_unlock_long(trans);
325326
/*
326327
* Now, replay any remaining keys in the order in which they appear in
327328
* the journal, unpinning those journal entries as we go:

0 commit comments

Comments
 (0)