Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull stacktrace fix from Ingo Molnar:
 "Fix a stack_trace_save_tsk_reliable() regression"

* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  stacktrace: Unbreak stack_trace_save_tsk_reliable()
This commit is contained in:
Linus Torvalds 2019-06-02 11:04:42 -07:00
commit 4fb5741c7c
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store,
ret = arch_stack_walk_reliable(consume_entry, &c, tsk); ret = arch_stack_walk_reliable(consume_entry, &c, tsk);
put_task_stack(tsk); put_task_stack(tsk);
return ret; return ret ? ret : c.len;
} }
#endif #endif