summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2012-09-05 14:20:41 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-06 10:40:40 +0200
commit3368ba25bf387109b24732c1e270c628f20e345d (patch)
treea699ca6bdb68c241d89685ff81f60adeae81f7ed /arch/s390/kernel/setup.c
parent43d0be75af8d05654b88d1da494cf292714fbdec (diff)
downloadblackbird-op-linux-3368ba25bf387109b24732c1e270c628f20e345d.tar.gz
blackbird-op-linux-3368ba25bf387109b24732c1e270c628f20e345d.zip
s390/cio: invalidate cdev pointer before deregistration
Make sure that the cdev pointer for IO subchannels is set to NULL when we deregister the device (and release its last reference). This will fix a bug were another process operates on an already freed ccw device. Acked-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud