Skip to content

Commit

Permalink
bcachefs: Fix GFP_KERNEL allocation in break_cycle()
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
  • Loading branch information
Kent Overstreet committed Jun 5, 2024
1 parent c3f38fa commit 9a64e1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/bcachefs/btree_locking.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand Down

0 comments on commit 9a64e1b

Please sign in to comment.