Commit 9a64e1bf authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix GFP_KERNEL allocation in break_cycle()

parent c3f38fa6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ static noinline int break_cycle(struct lock_graph *g, struct printbuf *cycle)

	if (unlikely(!best)) {
		struct printbuf buf = PRINTBUF;
		buf.atomic++;

		prt_printf(&buf, bch2_fmt(g->g->trans->c, "cycle of nofail locks"));