introduce kill_orphaned_pgrp() helper
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 2 Mar 2008 18:44:40 +0000 (21:44 +0300)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 3 Mar 2008 22:53:16 +0000 (14:53 -0800)
commitf49ee505b1ecb5960984880740f09aba87f870dc
tree2ff1289ecd2741d3f9d3a298662bc9b5a6266a3d
parent5ce2087ed0eb424e0889bdc9102727f65d2ecdde
introduce kill_orphaned_pgrp() helper

Factor out the common code in reparent_thread() and exit_notify().

No functional changes.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c