diff options
| author | Max Reitz | 2014-02-15 18:03:21 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-03-13 14:42:24 +0100 |
| commit | 9562f69cfdc55c7c1625bb88df1637fed182e68b (patch) | |
| tree | 5af0bbb0794565aff9176e23f8e072a5946c5fcc /include | |
| parent | qcow2: Don't write with BDRV_O_INCOMING (diff) | |
| download | qemu-9562f69cfdc55c7c1625bb88df1637fed182e68b.tar.gz qemu-9562f69cfdc55c7c1625bb88df1637fed182e68b.tar.xz qemu-9562f69cfdc55c7c1625bb88df1637fed182e68b.zip | |
block: Unlink temporary file
If the image file cannot be opened and was created as a temporary file,
it should be deleted; thus, in this case, we should jump to the
"unlink_and_fail" label and not just to "fail".
Reported-by: BenoƮt Canet <benoit@irqsave.net>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
