linux-stable/drivers/s390
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
..
block [S390] dasd: fix race in dasd timer handling 2009-02-11 10:37:40 +01:00
char [S390] tape block: fix dependencies 2009-01-09 12:15:04 +01:00
cio [S390] qdio: fix broken pointer in case of CONFIG_DEBUG_FS is disabled 2009-01-09 12:15:07 +01:00
crypto s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
kvm s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
net lcs: fix compilation for !CONFIG_IP_MULTICAST 2009-01-25 17:59:26 -08:00
scsi [SCSI] zfcp: Remove unnecessary warning message 2008-12-29 11:38:29 -06:00
ebcdic.c
Makefile s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
s390mach.c [PATCH] improve idle cputime accounting 2008-12-31 15:11:48 +01:00
s390mach.h [S390] stp support. 2008-07-14 10:02:09 +02:00
sysinfo.c [S390] service level interface. 2008-12-25 13:39:00 +01:00