diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-10-24 00:14:35 +0200 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2015-04-17 15:50:59 +0800 |
commit | 5c45fc6a9c14be17ae4d203d35fe82c6b4575de4 (patch) | |
tree | b7a38fbc8ab6b4678e21ba1441ae18f3b53b8a36 /include | |
parent | 71732036259eac84c4b4add5b7503a0f01905bc4 (diff) |
vfs: export do_splice_direct() to modules
Export do_splice_direct() to modules. Needed by overlay filesystem.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
(cherry picked from commit 1c118596a7682912106c80007102ce0184c77780)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index ce38acf2acf0..5bcbbf3a0f00 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2506,6 +2506,9 @@ extern ssize_t generic_file_splice_write(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); extern ssize_t generic_splice_sendpage(struct pipe_inode_info *pipe, struct file *out, loff_t *, size_t len, unsigned int flags); +extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, + loff_t *opos, size_t len, unsigned int flags); + extern void file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping); |