diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-02-28 03:34:23 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-03-01 14:41:43 +0100 |
commit | a72d9002f80bffd7e4c7d60e5a9caa0cddffe894 (patch) | |
tree | 6182c152ac4dfc7227353096526318eed07267f6 /.gitignore | |
parent | xen-blkback: use balloon pages for persistent grants (diff) | |
download | linux-a72d9002f80bffd7e4c7d60e5a9caa0cddffe894.tar.xz linux-a72d9002f80bffd7e4c7d60e5a9caa0cddffe894.zip |
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 <gang.chen@asianux.com>
Acked-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions