Skip to content

Commit

Permalink
bcachefs: fix bch2_save_backtrace()
Browse files Browse the repository at this point in the history
Missed a call in the previous fix.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
  • Loading branch information
Kent Overstreet committed Feb 25, 2024
1 parent c4333eb commit 5197728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/bcachefs/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ int bch2_save_backtrace(bch_stacktrace *stack, struct task_struct *task, unsigne
do {
nr_entries = stack_trace_save_tsk(task, stack->data, stack->size, skipnr + 1);
} while (nr_entries == stack->size &&
!(ret = darray_make_room(stack, stack->size * 2)));
!(ret = darray_make_room_gfp(stack, stack->size * 2, gfp)));

stack->nr = nr_entries;
up_read(&task->signal->exec_update_lock);
Expand Down

0 comments on commit 5197728

Please sign in to comment.