[S390] qdio: add missing tiq_list locking
commitb454740246d14b0a9c00220696f9020eaa15ca12
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 26 Mar 2009 14:24:24 +0000 (26 15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:19 +0000 (26 15:24 +0100)
tree8d0deb7de94992548aae364ef39f34c4c67cf096
parentfeed9b62da6e2997612143ae4b857ec7f33c810d
[S390] qdio: add missing tiq_list locking

Add a mutex to protect the tiq_list. Although reading the list is done
using RCU adding and removing elements from the list must still
happen locked since multiple qdio devices may change the list in parallel
otherwise.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_main.c
drivers/s390/cio/qdio_thinint.c