diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-20 16:58:36 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-20 17:02:45 +0200 |
commit | 7995bd287134f6c8f80d94bebe7396f05a9bc42b (patch) | |
tree | 7e94bb13bb30b8549892ed93e0e5b11d8b642bc2 /fs/internal.h | |
parent | mconsole: we'd better initialize pos before passing it to vfs_read()... (diff) | |
download | linux-7995bd287134f6c8f80d94bebe7396f05a9bc42b.tar.xz 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; |