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

bcachefs: Fix GFP_KERNEL allocation in break_cycle()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent c3f38fa6
......@@ -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"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment