Re: [libvirt] [PATCH 1/2] Don't skip zero'ing end of volume file when inputvol is shorter than newvol

2010-07-20 Thread Laine Stump
On 07/19/2010 07:15 PM, Eric Blake wrote: On 07/19/2010 05:08 PM, Laine Stump wrote: A missing set of braces around an error condition caused us to skip zero'ing out the remainder of a new volume file if the new volume was longer than the original (the goto was supposed to be taken only in the

Re: [libvirt] [PATCH 1/2] Don't skip zero'ing end of volume file when inputvol is shorter than newvol

2010-07-19 Thread Eric Blake
On 07/19/2010 05:08 PM, Laine Stump wrote: > A missing set of braces around an error condition caused us to skip > zero'ing out the remainder of a new volume file if the new volume was > longer than the original (the goto was supposed to be taken only in > the case of error, but was always being ta

[libvirt] [PATCH 1/2] Don't skip zero'ing end of volume file when inputvol is shorter than newvol

2010-07-19 Thread Laine Stump
A missing set of braces around an error condition caused us to skip zero'ing out the remainder of a new volume file if the new volume was longer than the original (the goto was supposed to be taken only in the case of error, but was always being taken). --- src/storage/storage_backend.c |3 ++-