Martin Schwidefsky 4657fb8a98 [S390] tape: fix race with stack local wait_queue_head_t.
A wait_event call with a stack local wait_queue_head_t structure that is
used to do the wake up for the wait_event is inherently racy. After the
wait_event finished the wake_up call might not have completed yet.
Replace the stack local wait_queue_head_t in tape_do_io and
tape_do_io_interruptible with a per device wait queue.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-05-30 10:03:36 +02:00
..
2006-12-08 15:53:52 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2006-07-12 16:41:55 +02:00
2007-02-05 21:18:53 +01:00
2007-04-27 16:01:45 +02:00
2005-04-16 15:20:36 -07:00
2007-05-10 15:45:52 +02:00
2005-04-16 15:20:36 -07:00
2006-04-28 08:33:48 -07:00
2007-07-17 13:36:19 +02:00
2007-07-17 13:36:19 +02:00
2008-05-20 13:31:56 -07:00