s390/cio: fix unlocked access of online member
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 16 Dec 2013 09:51:54 +0000 (10:51 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:38:01 +0000 (14:38 +0100)
commit74bd0d859dc3536b01c892abfa9f87620e4bca2f
tree6dcdde5d5952bc69956abd656e23b0a18b6a1ae7
parentd7528862cf035994972c2c6f42c927db78f2f3a2
s390/cio: fix unlocked access of online member

Make sure that access to the online member of a ccw device is
guarded by the ccwlock.

Reported-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device.c