Files
linux-stable-mirror/fs
Oleg Nesterov 565b9b14e7 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.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:40 -07:00
..
2008-07-24 10:47:33 -07:00
2008-07-25 10:53:33 -07:00
2008-07-25 10:53:34 -07:00
2008-07-25 10:53:33 -07:00
2008-07-25 10:53:30 -07:00
2008-07-25 10:53:34 -07:00
2008-07-24 17:32:41 -07:00
2008-07-24 10:47:17 -07:00
2008-07-15 17:35:24 +03:00
2008-07-25 10:53:34 -07:00
2008-07-24 10:47:27 -07:00
2008-07-24 10:47:28 -07:00
2008-07-25 10:53:33 -07:00
2008-07-24 10:47:19 -07:00
2008-07-24 10:47:29 -07:00
2008-07-25 10:53:35 -07:00