From c98d3683ce675d689121147ed00e7c4af4737518 Mon Sep 17 00:00:00 2001 From: Cornelia Huck Date: Fri, 25 Jan 2013 15:34:16 +0100 Subject: [PATCH] s390/virtio-ccw: Fix setup_vq error handling. virtio_ccw_setup_vq() failed to unwind correctly on errors. In particular, it failed to delete the virtqueue on errors, leading to list corruption when virtio_ccw_del_vqs() iterated over a virtqueue that had not been added to the vcdev's list. Fix this with redoing the error unwinding in virtio_ccw_setup_vq(), using a single path for all errors. Signed-off-by: Cornelia Huck Reviewed-by: Christian Borntraeger Signed-off-by: Christian Borntraeger Signed-off-by: Gleb Natapov --- Reading git-format-patch failed