mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[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>
This commit is contained in:
parent
ce362c0092
commit
a0f0678025
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue