From: Jeff Garzik Date: Fri, 31 Mar 2006 04:06:13 +0000 (-0500) Subject: [PATCH] splice exports X-Git-Tag: v2.6.17-rc1~143 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0f067802576d4eb4c65d40b8ee7d6ea3c81dd61;p=linux-2.6 [PATCH] splice exports Woe be unto he who builds their filesystems as modules. Signed-off-by: Jeff Garzik [ Obscure quote from the infamous geek bible? ] Signed-off-by: Linus Torvalds --- diff --git a/fs/splice.c b/fs/splice.c index 4a026f9588..7c2bbf18d7 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -22,6 +22,7 @@ #include #include #include +#include /* * 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) {