mirror of
https://github.com/torvalds/linux
synced 2024-10-15 15:59:15 +00:00
bcachefs: Fix GFP_KERNEL allocation in break_cycle()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c3f38fa61a
commit
9a64e1bfd8
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue