projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "ecryptfs: replace BUG_ON with error handling code"
[linux-2.6-microblaze.git]
/
kernel
/
task_work.c
diff --git
a/kernel/task_work.c
b/kernel/task_work.c
index
e931619
..
1698fbe
100644
(file)
--- a/
kernel/task_work.c
+++ b/
kernel/task_work.c
@@
-34,6
+34,9
@@
int task_work_add(struct task_struct *task, struct callback_head *work,
{
struct callback_head *head;
+ /* record the work call stack in order to print it in KASAN reports */
+ kasan_record_aux_stack(work);
+
do {
head = READ_ONCE(task->task_works);
if (unlikely(head == &work_exited))