]> err.no Git - linux-2.6/commitdiff
[PATCH] splice exports
authorJeff Garzik <jeff@garzik.org>
Fri, 31 Mar 2006 04:06:13 +0000 (23:06 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 06:16:24 +0000 (22:16 -0800)
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>
fs/splice.c

index 4a026f95884fd4abe87525fc50f34b0f820e8175..7c2bbf18d7a7c3622679bbf6e6a7f0bc0a78c7fa 100644 (file)
@@ -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)
 {