[OpenAFS] compile fails kernel version 4.4.0-1-default

Chas Williams 3chas3@gmail.com
Tue, 08 Mar 2016 10:02:42 -0500


On Tue, 2016-03-08 at 14:37 +0100, Stephan Wiesand wrote:
> So we'd simply do something like this
> 
> 
> diff --git a/src/afs/afs_fetchstore.c b/src/afs/afs_fetchstore.c
> index f65f40c..2630209 100644
> --- a/src/afs/afs_fetchstore.c
> +++ b/src/afs/afs_fetchstore.c
> @@ -326,7 +326,7 @@ struct storeOps rxfs_storeUfsOps = {
>      .padd =    rxfs_storePadd,
>      .close =   rxfs_storeClose,
>      .destroy = rxfs_storeDestroy,
> -#ifdef AFS_LINUX26_ENV
> +#if defined(AFS_LINUX26_ENV) && defined(LINUX_USE_SPLICE)
>      .storeproc = afs_linux_storeproc
>  #else
>      .storeproc = afs_GenericStoreProc
> 
> 
> and add a configure test defaulting to off?

Close.  It should just be disabled without a way to enable for 1.6 at least.
Otherwise we risk someone enabling something we know doesn't work (or is
at least stable).