[Qemu-devel] Re: [PATCH 2/2] check for close() errors on qcow2_create()

2010-10-08 Thread Kevin Wolf
Am 07.10.2010 22:25, schrieb Eduardo Habkost: Errors when closing the file we just created should not be ignored. I/O errors may happen and qemu-img create should fail in those cases. If we are already exiting due to an error, we will still return the original error number, though.

[Qemu-devel] Re: [PATCH 2/2] check for close() errors on qcow2_create()

2010-10-08 Thread Eduardo Habkost
On Fri, Oct 08, 2010 at 12:14:07PM +0200, Kevin Wolf wrote: Am 07.10.2010 22:25, schrieb Eduardo Habkost: Errors when closing the file we just created should not be ignored. I/O errors may happen and qemu-img create should fail in those cases. If we are already exiting due to an