[PATCH] fs/splice: export splice_to_pipe to modules

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Dec 2 12:43:52 UTC 2011


The LTTng driver needs this symbol exported because it implements its
own splice actor.

All other exports in splice are EXPORT_SYMBOL(), so follow the local
trend by not using a _GPL() export.

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..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);
 
 void spd_release_page(struct splice_pipe_desc *spd, unsigned int i)
 {
-- 
1.7.5.4



More information about the devel mailing list