Re: [Qemu-devel] [PATCH 09/13] dmg: Fix bdrv_open() error handling

2013-02-02 Thread Blue Swirl
On Fri, Feb 1, 2013 at 2:28 PM, Stefan Hajnoczi wrote: > From: Kevin Wolf > > Return -errno instead of -1 on errors and add error checks in some > places that didn't have one. Passing things by reference requires more > correct typing, replaced a few off_ts therefore - with a 32-bit off_t > this

[Qemu-devel] [PATCH 09/13] dmg: Fix bdrv_open() error handling

2013-02-01 Thread Stefan Hajnoczi
From: Kevin Wolf Return -errno instead of -1 on errors and add error checks in some places that didn't have one. Passing things by reference requires more correct typing, replaced a few off_ts therefore - with a 32-bit off_t this is even a fix for truncation bugs. While touching the code, fix ev