From: Cornelia Huck Date: Fri, 25 Jan 2013 14:34:16 +0000 (+0100) Subject: s390/virtio-ccw: Fix setup_vq error handling. X-Git-Tag: v3.9-rc1~97^2~7^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c98d3683ce675d689121147ed00e7c4af4737518;p=pandora-kernel.git 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-diff-tree failed