Files
linux/drivers
Stefan Weinhuber 48cae885d5 [S390] dasd: fix race in dasd timer handling
In dasd_device_set_timer and dasd_block_set_timer we interpret the
return value of mod_timer in a wrong way. If the timer expires in
the small window between our check of timer_pending and the call to
mod_timer, then the timer will be set, mod_timer returns zero and
we will call add_timer for a timer that is already pending.
As del_timer and mod_timer do all the necessary checking themselves,
we can simplify our code and remove the race a the same time.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-02-11 10:37:40 +01:00
..
2009-01-08 16:29:41 +00:00
2009-02-08 17:00:02 -08:00
2009-02-02 23:26:57 -08:00
…
2009-01-29 18:04:43 -08:00
…
2009-01-11 01:34:25 +01:00
2009-01-15 16:39:40 -08:00
…
2009-01-09 03:39:43 -05:00
…
2009-01-30 08:40:54 -08:00
…
…
…
…
…
…