From: Heinz Graalfs Date: Thu, 27 Feb 2014 13:34:35 +0000 (+0100) Subject: virtio_ccw: fix vcdev pointer handling issues X-Git-Tag: v3.15-rc1~118^2~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e0210432d34bc7f01644905c2bb2d5d9be5b6ac;p=pandora-kernel.git virtio_ccw: fix vcdev pointer handling issues The interrupt handler virtio_ccw_int_handler() using the vcdev pointer is protected by the ccw_device lock. Resetting the pointer within the ccw_device structure should be done when holding this lock. Also resetting the vcdev pointer (under the ccw_device lock) prior to freeing the vcdev pointer memory removes a critical path. Signed-off-by: Heinz Graalfs Acked-by: Cornelia Huck Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed