diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-12-16 10:54:13 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-12-16 14:38:02 +0100 |
commit | 00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a (patch) | |
tree | a801b13badc66a26abae11f4ee48823e62f076e0 /lib/extable.c | |
parent | s390/cio: fix unlocked access of online member (diff) | |
download | linux-00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a.tar.xz linux-00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a.zip |
s390/cio: use device_lock to synchronize calls to the ccw driver
When calling set_{on,off}line of a ccw device driver we hold the
module reference of the owner. This is pretty useless - we don't
want to prevent module unloading but driver unbinding. Use the
driver core's device_lock instead.
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>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions