]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cio: fix double unregistering of subchannels
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 14 Jul 2008 07:59:20 +0000 (09:59 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 08:02:17 +0000 (10:02 +0200)
commitccfc33e0fb4321094582588dad5b2b42e4a4b914
tree1d0dff750b0c031a1476d14a4fc2dd5071a08aaf
parente43a272b1a831c31fd5bbf858eb9eb8a8da32594
[S390] cio: fix double unregistering of subchannels

In some cases where the channel subsystem decides to drop a subchannel
device device_unregister may be called twice, which results in an oops.
The patch prevents this by only unregistering registered devices.

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