sched, autogroup: Fix reference leak
authorMike Galbraith <efault@gmx.de>
Fri, 31 Dec 2010 08:32:30 +0000 (09:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Jan 2011 14:10:36 +0000 (15:10 +0100)
commit101e5f77bf35679809586e250b6c62193d2ed179
tree7756de0a3d1d859e05a85134dee2d8e70616d287
parent4f8219875a0dad2cfad9e93a3fafcd9626db98d2
sched, autogroup: Fix reference leak

The cgroup exit mess also uncovered a struct autogroup reference leak.
copy_process() was simply freeing vs putting the signal_struct,
stranding a reference.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Oleg Nesterov <oleg@redhat.com>
LKML-Reference: <1293784350.6839.2.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/fork.c