summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/chp.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2010-10-25 18:10:26 +0400
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-10-25 18:10:18 +0400
commit74b6127e6c35abf06364468636dd261850639f8b (patch)
treee3519c8672226e7951ade85c3efd670bea356415 /drivers/s390/cio/chp.h
parentf2777077aa1f6f8a7c76b83f240975289a9fb894 (diff)
downloadlinux-74b6127e6c35abf06364468636dd261850639f8b.tar.xz
[S390] cio: fix memleak in resume path
If a ccwdevice is lost during hibernation and a different ccwdevice is attached to the same subchannel, we will deregister the old ccw device and register the new one. Since deregistration is not allowed in this context, we handle this action later. However, some parts of the registration process for the new device were started anyway, so that the old device structure is no longer accessible. Fix this by deferring both actions to the afterwards scheduled subchannel event. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chp.h')
0 files changed, 0 insertions, 0 deletions