aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2008-07-25 01:47:47 -0700
committerLinus Torvalds <[email protected]>2008-07-25 10:53:40 -0700
commit565b9b14e7f48131bca58840aa404bbef058fa89 (patch)
tree7925875b10dae248a9fa887c6881c544f59c6173 /include/linux/timerqueue.h
parenta94e2d408eaedbd85aae259621d46fafc10479a2 (diff)
coredump: format_corename: fix the "core_uses_pid" logic
I don't understand why the multi-thread coredump implies the core_uses_pid behaviour, but we shouldn't use mm->mm_users for that. This counter can be incremented by get_task_mm(). Use the valued returned by coredump_wait() instead. Also, remove the "const char *pattern" argument, format_corename() can use core_pattern directly. [[email protected]: coding-style fixes] Signed-off-by: Oleg Nesterov <[email protected]> Cc: Roland McGrath <[email protected]> Cc: Alan Cox <[email protected]> Cc: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions