summaryrefslogtreecommitdiff
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-04-24 13:12:38 +0300
committerVasily Gorbik <gor@linux.ibm.com>2021-06-07 18:06:59 +0300
commit197cec2853cb112e7a5c2adeccf4d2b09e7a36e2 (patch)
treeb90bad5b4222e30f685091c2db7ee583a2692ef1 /drivers/s390/char
parent95c09f0344f1dd9206f105b211c36476a7301b07 (diff)
downloadlinux-197cec2853cb112e7a5c2adeccf4d2b09e7a36e2.tar.xz
s390/ccwgroup: release the cdevs from within dev->release()
Wiring up the cdevs is an essential part of the gdev creation. So release them during the gdev destruction, ie. on the last put_device(). This could cause us to hold on to the cdevs a tiny bit longer, but that's not a real concern. As we have much less certainty of what context this put_device() is executed from, switch to irqsave locking. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions