commit | 079148b919d0c58b796f9ae98bdb53028dbcd5e7 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Tue Apr 30 15:28:16 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 30 17:04:06 2013 -0700 |
tree | b2d44cfd18794533709b053d6669606b13173fe2 | |
parent | 528f827ee0bb508af5c9466562f474675540473e [diff] |
coredump: factor out the setting of PF_DUMPCORE Cleanup. Every linux_binfmt->core_dump() sets PF_DUMPCORE, move this into zap_threads() called by do_coredump(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Mandeep Singh Baines <msb@chromium.org> Cc: Neil Horman <nhorman@redhat.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>