aboutsummaryrefslogtreecommitdiffstats
path: root/fs/splice.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/splice.c')
-rw-r--r--fs/splice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/splice.c b/fs/splice.c
index a1f595b9db40..584b2b7a1dbe 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -555,8 +555,8 @@ static int pipe_to_sendpage(struct pipe_inode_info *pipe,
555 * SPLICE_F_MOVE isn't set, or we cannot move the page, we simply create 555 * SPLICE_F_MOVE isn't set, or we cannot move the page, we simply create
556 * a new page in the output file page cache and fill/dirty that. 556 * a new page in the output file page cache and fill/dirty that.
557 */ 557 */
558static int pipe_to_file(struct pipe_inode_info *pipe, struct pipe_buffer *buf, 558int pipe_to_file(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
559 struct splice_desc *sd) 559 struct splice_desc *sd)
560{ 560{
561 struct file *file = sd->u.file; 561 struct file *file = sd->u.file;
562 struct address_space *mapping = file->f_mapping; 562 struct address_space *mapping = file->f_mapping;
@@ -600,6 +600,7 @@ static int pipe_to_file(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
600out: 600out:
601 return ret; 601 return ret;
602} 602}
603EXPORT_SYMBOL(pipe_to_file);
603 604
604static void wakeup_pipe_writers(struct pipe_inode_info *pipe) 605static void wakeup_pipe_writers(struct pipe_inode_info *pipe)
605{ 606{