[PATCH] hrtimers: fix possible use of NULL pointer in posix-timers

Fixup the conversion of posix-timers to hrtimers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Thomas Gleixner 2006-02-01 03:05:09 -08:00 коммит произвёл Linus Torvalds
Родитель bc1978d404
Коммит b6557fbca8
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -290,6 +290,7 @@ void do_schedule_next_timer(struct siginfo *info)
info->si_overrun = timr->it_overrun_last; info->si_overrun = timr->it_overrun_last;
} }
if (timr)
unlock_timer(timr, flags); unlock_timer(timr, flags);
} }