lkml.org 
[lkml]   [2006]   [Mar]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 31 Mar 2006 09:17:57 +0200
FromJens Axboe <>
SubjectRe: [PATCH] splice exports
On Thu, Mar 30 2006, Jeff Garzik wrote:
> > 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)
>  {

Thanks Jeff!

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-31 09:20    [from the cache]
©2003-2008