Re: [PATCH 2/2] posix_timer: clean up properly if anything fails after *_timer_create

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Vagin
Date: Saturday, May 15, 2010 - 7:17 am

On 05/14/2010 10:48 PM, Oleg Nesterov wrote:
You are right. I will send a new patch sooner. Thanks for your comments.
timer_cleanup doesn't do the disarm timer. In case fail in timer_create 
it's enough to call timer_cleanup. This changes are not necessary in new 
version.
I've look at code again and think that you are right. At first I created 
patches for 2.6.18 kernel, more complex code in this place and the 
comment "the next step is ..." induced me to make callback timer_cleanup.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] posix_timer: clean up properly if anything ..., Stanislaw Gruszka, (Fri May 14, 10:18 am)
Re: [PATCH 2/2] posix_timer: clean up properly if anything ..., Andrew Vagin, (Sat May 15, 7:17 am)