From: Oleg Nesterov Date: Mon, 22 Sep 2008 21:42:46 +0000 (-0700) Subject: posix-timers: always do get_task_struct(timer->it_process) X-Git-Tag: v2.6.28-rc1~82^2^5~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=918fc0372831dca73039e1577bfea0c2ce49bdb6;p=pandora-kernel.git posix-timers: always do get_task_struct(timer->it_process) Change the code to get/put timer->it_process regardless of SIGEV_THREAD_ID. This streamlines the create/destroy paths and allows us to simplify the usage of exit_itimers() in de_thread(). Signed-off-by: Oleg Nesterov Cc: mingo@elte.hu Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed