projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4333eb
)
bcachefs: fix bch2_save_backtrace()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 25 Feb 2024 20:45:34 +0000
(15:45 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 25 Feb 2024 20:45:36 +0000
(15:45 -0500)
Missed a call in the previous fix.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/util.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/util.c
b/fs/bcachefs/util.c
index 231003b405efc304a4cefa61a6e4e2f30b4b9466..3a32faa86b5c4a2eee98de32951c18dc73052041 100644
(file)
--- a/
fs/bcachefs/util.c
+++ b/
fs/bcachefs/util.c
@@
-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);