Skip to content

Commit

Permalink
[PATCH] splice exports
Browse files Browse the repository at this point in the history
Woe be unto he who builds their filesystems as modules.

Signed-off-by: Jeff Garzik <[email protected]>
[ Obscure quote from the infamous geek bible? ]
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Jeff Garzik authored and Linus Torvalds committed Mar 31, 2006
1 parent ce362c0 commit a0f0678
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit a0f0678

Please sign in to comment.