[Virtio-fs] [PATCH] virtiofsd: Change FUSE_MAP_ALIGNMENT bit position for 5.3 kernel

Dr. David Alan Gilbert dgilbert at redhat.com
Thu Aug 8 09:10:52 UTC 2019


* Vivek Goyal (vgoyal at redhat.com) wrote:
> Due to rebase to 5.3-rc kernel, change bit position of FUSE_MAP_ALIGNMENT.

Thanks,
yes this matches the position I sent upstream last week:
https://lore.kernel.org/linux-fsdevel/20190802171521.21807-4-dgilbert@redhat.com/

I've squashed it into 'virtiofsd: add map_alignment to fuse_kernel.h'

Dave

> Signed-off-by: Vivek Goyal <vgoyal at redhat.com>
> ---
>  contrib/virtiofsd/fuse_kernel.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: qemu/contrib/virtiofsd/fuse_kernel.h
> ===================================================================
> --- qemu.orig/contrib/virtiofsd/fuse_kernel.h	2019-08-05 16:32:14.358564755 -0400
> +++ qemu/contrib/virtiofsd/fuse_kernel.h	2019-08-07 16:31:27.882640763 -0400
> @@ -292,7 +292,7 @@ struct fuse_file_lock {
>  #define FUSE_MAX_PAGES		(1 << 22)
>  #define FUSE_CACHE_SYMLINKS	(1 << 23)
>  #define FUSE_NO_OPENDIR_SUPPORT (1 << 24)
> -#define FUSE_MAP_ALIGNMENT      (1 << 25)
> +#define FUSE_MAP_ALIGNMENT      (1 << 26)
>  
>  /**
>   * CUSE INIT request/reply flags
--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK




More information about the Virtio-fs mailing list