aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2008-07-25 01:47:26 -0700
committerLinus Torvalds <[email protected]>2008-07-25 10:53:38 -0700
commit4b7a1304267bff68260ae861784b27130e805be3 (patch)
tree65065cc702a9d73fba4a85d0bdab5ed326a5b479 /include/linux/timerqueue.h
parentda5ef6bb96158b0fc0d808704237a453af449124 (diff)
posix timers: timer_delete: remove the bogus "->it_process != NULL" check
sys_timer_delete() and itimer_delete() check "timer->it_process != NULL", this looks completely bogus. ->it_process == NULL means that this timer is already under destruction or it is not fully initialized, this must not happen. sys_timer_delete: the timer is locked, and lock_timer() can't succeed if ->it_process == NULL. itimer_delete: it is called by exit_itimers() when there are no other threads which can play with signal_struct->posix_timers. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Roland McGrath <[email protected]> Cc: john stultz <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Roland McGrath <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions