diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-05-30 10:03:33 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-05-30 10:03:36 +0200 |
commit | 4657fb8a98a4e02981a574492bbe470c147b6657 (patch) | |
tree | 9363e9452ce5b798cad43b83b0276bda6a7568c9 /arch/s390 | |
parent | 54ad64129cc166b9eec7151f3f9fc83589e33555 (diff) | |
download | kernel_samsung_aries-4657fb8a98a4e02981a574492bbe470c147b6657.zip kernel_samsung_aries-4657fb8a98a4e02981a574492bbe470c147b6657.tar.gz kernel_samsung_aries-4657fb8a98a4e02981a574492bbe470c147b6657.tar.bz2 |
[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>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions