[S390] ccwgroup: add locking around drvdata access
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 26 May 2010 21:27:07 +0000 (23:27 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 26 May 2010 21:27:09 +0000 (23:27 +0200)
commitc560d105a197464603247bf55962fc7f23c8cb62
tree04f9738638aff5f4825fc2567540d288ffd4518a
parenta65a3e82b5b5f8f70cc0d51498441585d5b381f1
[S390] ccwgroup: add locking around drvdata access

Several processes may concurrently try to create a group device
from the same ccw_device(s). Add locking arround the drvdata
access to prevent race conditions.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/ccwgroup.c