Commit f6ec953c authored by Feiran Zheng's avatar Feiran Zheng Committed by Kevin Wolf
Browse files

hw/xen_disk: ioreq not finished on error



Bug fix: routines 'ioreq_runio_qemu_sync' and 'ioreq_runio_qemu_aio'
won't call 'ioreq_unmap' or 'ioreq_finish' on errors, leaving ioreq in
the blkdev->inflight list and a leak.

Signed-off-by: default avatarFeiran Zheng <famcool@gmail.com>
Acked-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 3b8e6a2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment