mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
bcachefs: fix bch2_save_backtrace()
Missed a call in the previous fix. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c4333eb541
commit
5197728f81
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user