From: Chen Gang Date: Thu, 28 Feb 2013 02:34:23 +0000 (+0800) Subject: xen/xen-blkback: preq.dev is used without initialized X-Git-Tag: v3.9-rc5~3^2~9^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a72d9002f80bffd7e4c7d60e5a9caa0cddffe894;p=pandora-kernel.git xen/xen-blkback: preq.dev is used without initialized If call xen_vbd_translate failed, the preq.dev will be not initialized. Use blkif->vbd.pdevice instead (still better to print relative info). Note that before commit 01c681d4c70d64cb72142a2823f27c4146a02e63 (xen/blkback: Don't trust the handle from the frontend.) the value bogus, as it was the guest provided value from req->u.rw.handle rather than the actual device. Signed-off-by: Chen Gang Acked-by: Jan Beulich Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed