summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-03-30 23:06:13 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-30 22:16:24 -0800
commita0f067802576d4eb4c65d40b8ee7d6ea3c81dd61 (patch)
treec0172bf5d2a25e5658ba882cbf5d11468d6bdf53
parentce362c009250340358a7221f3cdb7954cbf19c01 (diff)
downloadop-kernel-dev-a0f067802576d4eb4c65d40b8ee7d6ea3c81dd61.zip
op-kernel-dev-a0f067802576d4eb4c65d40b8ee7d6ea3c81dd61.tar.gz
[PATCH] splice exports
Woe be unto he who builds their filesystems as modules. Signed-off-by: Jeff Garzik <jeff@garzik.org> [ Obscure quote from the infamous geek bible? ] Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--fs/splice.c4
1 files changed, 4 insertions, 0 deletions
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 inode *inode, struct file *out,
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)
{
OpenPOWER on IntegriCloud