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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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: