From: Kent Overstreet Date: Tue, 20 Aug 2024 16:10:33 +0000 (-0400) Subject: bcachefs: unlock_long() before resort in journal replay X-Git-Tag: microblaze-v6.13~9^2~161 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=1dceae4cc12aa6389d9a8706f0d2a94d1679e79d;p=linux-2.6-microblaze.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 d89eb43c5ce9..11368dfa96b2 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: