diff options
| author | Feiran Zheng | 2011-03-09 14:19:35 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2011-03-15 13:21:14 +0100 |
| commit | 209bef3e014ba1613759575e2c10f0ef8d64eb84 (patch) | |
| tree | 0de0ffc334bfa57ded7da2ccdfcd03f9eb581f7e /docs | |
| parent | Improve error handling in do_snapshot_blkdev() (diff) | |
| download | qemu-209bef3e014ba1613759575e2c10f0ef8d64eb84.tar.gz qemu-209bef3e014ba1613759575e2c10f0ef8d64eb84.tar.xz qemu-209bef3e014ba1613759575e2c10f0ef8d64eb84.zip | |
hw/xen_disk: aio_inflight not released in handling ioreq when nr_segments==0
In hw/xen_disk.c, async writing ioreq is leaked when
ioreq->req.nr_segments==0, because `aio_inflight` flag is not released
properly (skipped by misplaced "break").
Signed-off-by: Feiran Zheng <famcool@gmail.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
