summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/blacklist.c
diff options
context:
space:
mode:
authorCornelia Huck2006-06-29 14:56:52 +0200
committerMartin Schwidefsky2006-06-29 14:56:52 +0200
commit887ab5992925736ab23985c35f8149739e9de354 (patch)
tree5979c930c1ba34341e04e541f98b0584c58ac62b /drivers/s390/cio/blacklist.c
parent[S390] channel measurement fix. (diff)
downloadkernel-qcow2-linux-887ab5992925736ab23985c35f8149739e9de354.tar.gz
kernel-qcow2-linux-887ab5992925736ab23985c35f8149739e9de354.tar.xz
kernel-qcow2-linux-887ab5992925736ab23985c35f8149739e9de354.zip
[S390] ccwgroup device unregister.
Work around the problem that a device cannot be unregistered from driver_for_each_device() because of klist node refcounting: Get device after device owned by the driver to be unregistered with driver_find_device() and then unregister it. This works because driver_get_device() gets us out of the region of the elevated klist node refcount. driver_find_device() will always get the next device in the list after the found one has been unregistered. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/blacklist.c')
0 files changed, 0 insertions, 0 deletions