Skip to content

Commit a0f0678

Browse files
Jeff GarzikLinus Torvalds
authored andcommitted
[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>
1 parent ce362c0 commit a0f0678

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fs/splice.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <linux/pipe_fs_i.h>
2323
#include <linux/mm_inline.h>
2424
#include <linux/swap.h>
25+
#include <linux/module.h>
2526

2627
/*
2728
* Passed to the actors
@@ -567,6 +568,9 @@ ssize_t generic_splice_sendpage(struct inode *inode, struct file *out,
567568
return move_from_pipe(inode, out, len, flags, pipe_to_sendpage);
568569
}
569570

571+
EXPORT_SYMBOL(generic_file_splice_write);
572+
EXPORT_SYMBOL(generic_file_splice_read);
573+
570574
static long do_splice_from(struct inode *pipe, struct file *out, size_t len,
571575
unsigned int flags)
572576
{

0 commit comments

Comments
 (0)