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

Cole Robinson crobinso at redhat.com
Sun Dec 7 04:21:49 UTC 2008


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.
>
> Signed-off-by: John Danielson <john.danielson at sun.com>
>
>   

Thanks, Applied:

http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=ed58873b537c

- Cole




More information about the et-mgmt-tools mailing list