Skip to content

Commit 5197728

Browse files
author
Kent Overstreet
committed
bcachefs: fix bch2_save_backtrace()
Missed a call in the previous fix. Signed-off-by: Kent Overstreet <[email protected]>
1 parent c4333eb commit 5197728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ int bch2_save_backtrace(bch_stacktrace *stack, struct task_struct *task, unsigne
289289
do {
290290
nr_entries = stack_trace_save_tsk(task, stack->data, stack->size, skipnr + 1);
291291
} while (nr_entries == stack->size &&
292-
!(ret = darray_make_room(stack, stack->size * 2)));
292+
!(ret = darray_make_room_gfp(stack, stack->size * 2, gfp)));
293293

294294
stack->nr = nr_entries;
295295
up_read(&task->signal->exec_update_lock);

0 commit comments

Comments
 (0)