posix-timers: simplify de_thread()->exit_itimers() path
authorOleg Nesterov <oleg@tv-sign.ru>
Mon, 1 Dec 2008 22:18:16 +0000 (14:18 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Dec 2008 16:01:03 +0000 (17:01 +0100)
commit8187926bdae98648db24db3391c4efd21ec669b1
treee3f35eee71cdaefcf6af15471a7aee3444e658d4
parent899921025b406a71a8aeb2d7855658ea0cf0ed23
posix-timers: simplify de_thread()->exit_itimers() path

Impact: simplify code

de_thread() postpones release_task(leader) until after exit_itimers().
This was needed because !SIGEV_THREAD_ID timers could use ->group_leader
without get_task_struct(). With the recent changes we can release the
leader earlier and simplify the code.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/exec.c