aboutsummaryrefslogtreecommitdiffstats
path: root/fs/splice.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/splice.c')
-rw-r--r--fs/splice.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/splice.c b/fs/splice.c
index 4a026f95884f..7c2bbf18d7a7 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -22,6 +22,7 @@
22#include <linux/pipe_fs_i.h> 22#include <linux/pipe_fs_i.h>
23#include <linux/mm_inline.h> 23#include <linux/mm_inline.h>
24#include <linux/swap.h> 24#include <linux/swap.h>
25#include <linux/module.h>
25 26
26/* 27/*
27 * Passed to the actors 28 * Passed to the actors
@@ -567,6 +568,9 @@ ssize_t generic_splice_sendpage(struct inode *inode, struct file *out,
567 return move_from_pipe(inode, out, len, flags, pipe_to_sendpage); 568 return move_from_pipe(inode, out, len, flags, pipe_to_sendpage);
568} 569}
569 570
571EXPORT_SYMBOL(generic_file_splice_write);
572EXPORT_SYMBOL(generic_file_splice_read);
573
570static long do_splice_from(struct inode *pipe, struct file *out, size_t len, 574static long do_splice_from(struct inode *pipe, struct file *out, size_t len,
571 unsigned int flags) 575 unsigned int flags)
572{ 576{