diff options
author | Max Reitz <mreitz@redhat.com> | 2014-12-02 18:32:52 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-12-10 10:31:20 +0100 |
commit | 6a69b9620ac1562a067990d87284a85552bfd61b (patch) | |
tree | b452144bfac603a69ce778698ab83213c169c102 /block/raw-posix.c | |
parent | 3b5e14c76a6bb142bf250ddf99e24a0ac8c7bc12 (diff) |
qcow2: Respect bdrv_truncate() error
bdrv_truncate() may fail and qcow2_write_compressed() should return the
error code in that case.
Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/raw-posix.c')
0 files changed, 0 insertions, 0 deletions