splice: don't pass the address of ->f_pos to methods

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2013-06-20 18:58:36 +04:00
commit 7995bd2871
5 changed files with 41 additions and 23 deletions

View file

@ -131,6 +131,12 @@ extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
*/
extern ssize_t __kernel_write(struct file *, const char *, size_t, loff_t *);
/*
* splice.c
*/
extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out,
loff_t *opos, size_t len, unsigned int flags);
/*
* pipe.c
*/