[libvirt] [PATCH] virfile: safezero: align mmap offset to page size

Michal Privoznik mprivozn at redhat.com
Mon Sep 30 13:44:31 UTC 2013


On 30.09.2013 13:01, Oskari Saarenmaa wrote:
> mmap's offset must be aligned to page size or mapping will fail.
> mmap-based safezero is only used if posix_fallocate isn't available.
> 
> Signed-off-by: Oskari Saarenmaa <os at ohmu.fi>
> ---
>  src/util/virfile.c | 14 +++++++++++---
>  1 file changed, 11 insertions(+), 3 deletions(-)
> 

ACK and safe for 1.1.3 so I've pushed this.

Michal




More information about the libvir-list mailing list