qcow2: Fix error handling during metadata preallocation
commit19dbcbf7cc1892f5130b4edd5a4bb4ca800ef7d8
authorKevin Wolf <kwolf@redhat.com>
Tue, 22 Jun 2010 14:59:46 +0000 (22 16:59 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Jul 2010 11:18:01 +0000 (2 13:18 +0200)
tree5f17ed19373e4e0c1c343abe9883623a9a03dd79
parent8713f8ffb87a28c94b4f22b9a9ec16c55381187e
qcow2: Fix error handling during metadata preallocation

People were wondering why qemu-img check failed after they tried to preallocate
a large qcow2 file and ran out of disk space.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c