public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] splice exports
@ 2006-03-31  4:06 Jeff Garzik
  2006-03-31  7:17 ` Jens Axboe
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Jeff Garzik @ 2006-03-31  4:06 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds, axboe, linux-kernel


Woe be unto he who builds their filesystems as modules.

Signed-off-by: Jeff Garzik <jeff@garzik.org>

diff --git a/fs/splice.c b/fs/splice.c
index 4a026f9..7c2bbf1 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -22,6 +22,7 @@
 #include <linux/pipe_fs_i.h>
 #include <linux/mm_inline.h>
 #include <linux/swap.h>
+#include <linux/module.h>
 
 /*
  * Passed to the actors
@@ -567,6 +568,9 @@ ssize_t generic_splice_sendpage(struct i
 	return move_from_pipe(inode, out, len, flags, pipe_to_sendpage);
 }
 
+EXPORT_SYMBOL(generic_file_splice_write);
+EXPORT_SYMBOL(generic_file_splice_read);
+
 static long do_splice_from(struct inode *pipe, struct file *out, size_t len,
 			   unsigned int flags)
 {

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

end of thread, other threads:[~2006-04-02 18:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-31  4:06 [PATCH] splice exports Jeff Garzik
2006-03-31  7:17 ` Jens Axboe
2006-03-31 11:01 ` Arjan van de Ven
2006-03-31 11:02   ` Jens Axboe
2006-03-31 14:00     ` Jeff Garzik
2006-03-31 18:36       ` Jens Axboe
2006-03-31 23:14         ` Jeff Garzik
2006-04-01  1:33           ` Arjan van de Ven
2006-04-02 18:02             ` Jens Axboe
2006-03-31 13:28 ` Sam Ravnborg
2006-03-31 13:31   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox