Re: [PATCH 03/11] fs/splice: export splice_to_pipe to GPL modules

Jens Axboe
2011-12-02T07:19:43Z

On 2011-12-01 22:41, Mathieu Desnoyers wrote:
> The LTTng driver needs this symbol exported because it implements its
> own splice actor.
>
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> CC: Linus Torvalds <torvalds@linux-foundation.org>
> CC: Ingo Molnar <mingo@elte.hu>
> CC: Jens Axboe <axboe@kernel.dk>
> CC: linux-kernel@vger.kernel.org
> CC: Greg KH <greg@kroah.com>
> ---
> fs/splice.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/fs/splice.c b/fs/splice.c
> index fa2defa..9eb15b5 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_GPL(splice_to_pipe);

The rest of the splice symbols are regular exports, please do the same
for this one. Thanks.

--
Jens Axboe