diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-20 18:58:36 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-20 19:02:45 +0400 |
commit | 7995bd287134f6c8f80d94bebe7396f05a9bc42b (patch) | |
tree | 7e94bb13bb30b8549892ed93e0e5b11d8b642bc2 /fs/internal.h | |
parent | c9036e9f3b2b77f678572260e1ef1075fcb08c36 (diff) | |
download | linux-7995bd287134f6c8f80d94bebe7396f05a9bc42b.tar.gz linux-7995bd287134f6c8f80d94bebe7396f05a9bc42b.tar.bz2 linux-7995bd287134f6c8f80d94bebe7396f05a9bc42b.zip |
splice: don't pass the address of ->f_pos to methods
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index eaa75f75b625..68121584ae37 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -132,6 +132,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 */ extern const struct file_operations pipefifo_fops; |