diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2005-06-23 09:09:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 18:45:17 +0200 |
commit | f972be33ce6a08b5f096ba013c7459a3a82f5f39 (patch) | |
tree | 5d495cdfc82dce1b8017244563f2f5437c395433 /fs/inode.c | |
parent | [PATCH] timers: introduce try_to_del_timer_sync() (diff) | |
download | linux-f972be33ce6a08b5f096ba013c7459a3a82f5f39.tar.xz linux-f972be33ce6a08b5f096ba013c7459a3a82f5f39.zip |
[PATCH] posix-timers: use try_to_del_timer_sync()
sys_timer_settime/sys_timer_delete needs to delete k_itimer->real.timer
synchronously while holding ->it_lock, which is also locked in
posix_timer_fn.
This patch removes timer_active/set_timer_inactive which plays with
timer_list's internals in favour of using try_to_del_timer_sync(), which
was introduced in the previous patch.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions