commit | 3368ba25bf387109b24732c1e270c628f20e345d | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Wed Sep 05 14:20:41 2012 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Sep 06 10:40:40 2012 +0200 |
tree | a699ca6bdb68c241d89685ff81f60adeae81f7ed | |
parent | 43d0be75af8d05654b88d1da494cf292714fbdec [diff] |
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>