[et-mgmt-tools] [PATCH] Fix sparse file size off-by-one error

Daniel P. Berrange berrange at redhat.com
Thu Dec 4 12:00:20 UTC 2008


On Wed, Dec 03, 2008 at 07:29:02PM -0800, john.levon at sun.com wrote:
> # HG changeset patch
> # User john.levon at sun.com
> # Date 1228360958 28800
> # Node ID d8591178ebfca87835c7c5181cd96fde303444c9
> # Parent  a16f24e020cec71d5d61661a2a85e7e241ffe0be
> Fix sparse file size off-by-one error
> 
> The Solaris loopback driver (lofi) requires files be a multiple of
> 512-bytes in size. Sparse files created via lseek(f, size, 0) are
> 1 byte larger than what is being requested.

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the et-mgmt-tools mailing list