[lttng-dev] [PATCH 07/15] fs/splice: export splice_to_pipe to modules

Greg KH greg at kroah.com
Thu Dec 1 12:49:08 EST 2011


On Wed, Nov 30, 2011 at 01:34:20PM -0500, Mathieu Desnoyers wrote:
> LTTng needs this symbol exported because it implements its own splice
> actor.
> 
> Exporting to all modules following the general policy of splice.c (this
> is what other EXPORTs do in this file).
> 
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> ---
>  fs/splice.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/splice.c b/fs/splice.c
> index fa2defa..492585d 100644
> --- a/fs/splice.c
> +++ b/fs/splice.c
> @@ -263,6 +263,7 @@ ssize_t splice_to_pipe(struct pipe_inode_info *pipe,
>  
>  	return ret;
>  }
> +EXPORT_SYMBOL(splice_to_pipe);

Why not EXPORT_SYMBOL_GPL()?

And again, it needs the correct acks from the maintainers of this code
first.

thanks,

greg k-h



More information about the lttng-dev mailing list