From: Kent Overstreet Date: Tue, 20 Aug 2024 16:10:33 +0000 (-0400) Subject: bcachefs: unlock_long() before resort in journal replay X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1dceae4cc12aa6389d9a8706f0d2a94d1679e79d;p=users%2Fdwmw2%2Flinux.git bcachefs: unlock_long() before resort in journal replay Fix another SRCU splat - this one pretty harmless. Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index d89eb43c5ce95..11368dfa96b28 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -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: