diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-04-05 12:51:31 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-04-05 18:58:05 +0200 |
commit | c2bc78b6a975ea2dcd7eee9f0dce22cc060cdcdc (patch) | |
tree | a10866bea88e6ff9f393c4364cb09ad2598c2e84 /block/dmg.c | |
parent | 0775437fafc5c733564645a22f75490770bf41f7 (diff) |
qcow2: Return real error in qcow2_update_snapshot_refcount
This fixes the error message triggered by the following script:
cat > /tmp/blkdebug.cfg <<EOF
[inject-error]
event = "cluster_free"
errno = "28"
immediately = "off"
EOF
$qemu_img create -f qcow2 test.qcow2 10G
$qemu_img snapshot -c snap test.qcow2
$qemu_img snapshot -d snap blkdebug:/tmp/blkdebug.cfg:test.qcow2
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/dmg.c')
0 files changed, 0 insertions, 0 deletions