commit | c2bc78b6a975ea2dcd7eee9f0dce22cc060cdcdc | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Apr 05 12:51:31 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Apr 05 18:58:05 2013 +0200 |
tree | a10866bea88e6ff9f393c4364cb09ad2598c2e84 | |
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>