diff options
author | Oleg Nesterov <oleg@redhat.com> | 2010-05-26 14:43:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 09:12:45 -0700 |
commit | c713541125002b8bc9e681af3b09118e771e2d8a (patch) | |
tree | 6c85885dc2403b0310ab13e1c21dcb30960ced83 /firmware | |
parent | 04b1c384fbc4e0209e5c1affb67050886376d44b (diff) | |
download | blackbird-op-linux-c713541125002b8bc9e681af3b09118e771e2d8a.tar.gz blackbird-op-linux-c713541125002b8bc9e681af3b09118e771e2d8a.zip |
coredump: factor out the not-ispipe file checks
do_coredump() does a lot of file checks after it opens the file or calls
usermode helper. But all of these checks are only needed in !ispipe case.
Move this code into the "else" branch and kill the ugly repetitive ispipe
checks.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions