Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 9a64e1b

Browse files
author
Kent Overstreet
committed
bcachefs: Fix GFP_KERNEL allocation in break_cycle()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent c3f38fa commit 9a64e1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/bcachefs/btree_locking.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ static noinline int break_cycle(struct lock_graph *g, struct printbuf *cycle)
215215

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

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

0 commit comments

Comments
 (0)