Commit 5197728f authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: fix bch2_save_backtrace()

Missed a call in the previous fix.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent c4333eb5
...@@ -289,7 +289,7 @@ int bch2_save_backtrace(bch_stacktrace *stack, struct task_struct *task, unsigne ...@@ -289,7 +289,7 @@ int bch2_save_backtrace(bch_stacktrace *stack, struct task_struct *task, unsigne
do { do {
nr_entries = stack_trace_save_tsk(task, stack->data, stack->size, skipnr + 1); nr_entries = stack_trace_save_tsk(task, stack->data, stack->size, skipnr + 1);
} while (nr_entries == stack->size && } 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; stack->nr = nr_entries;
up_read(&task->signal->exec_update_lock); up_read(&task->signal->exec_update_lock);
......
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