summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2010-05-26 14:43:06 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 09:12:45 -0700
commitd5bf4c4f5f9dcc90b7e25dbb2f7c4436cf6e7ed0 (patch)
tree8c07402f685245fdf3397fac47bc7194f686066d /virt
parentc713541125002b8bc9e681af3b09118e771e2d8a (diff)
downloadlinux-stable-d5bf4c4f5f9dcc90b7e25dbb2f7c4436cf6e7ed0.tar.gz
linux-stable-d5bf4c4f5f9dcc90b7e25dbb2f7c4436cf6e7ed0.tar.bz2
linux-stable-d5bf4c4f5f9dcc90b7e25dbb2f7c4436cf6e7ed0.zip
coredump: cleanup "ispipe" code
- kill "int dump_count", argv_split(argcp) accepts argcp == NULL. - move "int dump_count" under " if (ispipe)" branch, fail_dropcount can check ispipe. - move "char **helper_argv" as well, change the code to do argv_free() right after call_usermodehelper_fns(). - If call_usermodehelper_fns() fails goto close_fail label instead of closing the file by hand. 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 'virt')
0 files changed, 0 insertions, 0 deletions