[03/11] UBUNTU: ubuntu: overlayfs -- vfs: export do_splice_direct() to modules

Message ID 1363168251-9374-4-git-send-email-paolo.pisati@canonical.com
State New
Headers show

Commit Message

Paolo Pisati March 13, 2013, 9:50 a.m.
From: Miklos Szeredi <mszeredi@suse.cz>

Export do_splice_direct() to modules.  Needed by overlay filesystem.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
(cherry picked from commit 769a52d8e0680e4a4dc03eff2c56bebcfdeeb531)

BugLink: http://bugs.launchpad.net/bugs/1076317

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
 fs/splice.c |    1 +
 1 file changed, 1 insertion(+)


diff --git a/fs/splice.c b/fs/splice.c
index fa2defa..263dc3a 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -1300,6 +1300,7 @@  long do_splice_direct(struct file *in, loff_t *ppos, struct file *out,
 	return ret;
 static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe,
 			       struct pipe_inode_info *opipe,