[lttng-dev] [PATCH 03/11] fs/splice: export splice_to_pipe to GPL modules

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Dec 2 07:32:11 EST 2011


* Jens Axboe (jens at axboe.dk) wrote:
> 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 at efficios.com>
> > CC: Linus Torvalds <torvalds at linux-foundation.org>
> > CC: Ingo Molnar <mingo at elte.hu>
> > CC: Jens Axboe <axboe at kernel.dk>
> > CC: linux-kernel at vger.kernel.org
> > CC: Greg KH <greg at 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.

I've been wondering about this one, but thought it would be better to
let you decide on opening up the symbol more than with _GPL. Will do!

Thanks,

Mathieu


-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list