All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs/splice: export splice_to_pipe to modules
@ 2011-12-02 12:43 Mathieu Desnoyers
  2011-12-02 12:47 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Desnoyers @ 2011-12-02 12:43 UTC (permalink / raw)
  To: Greg KH
  Cc: Jens Axboe, lttng-dev, Linus Torvalds, Ingo Molnar, linux-kernel,
	devel

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@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..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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-02 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 12:43 [PATCH] fs/splice: export splice_to_pipe to modules Mathieu Desnoyers
2011-12-02 12:47 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.