summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-06-20 16:58:36 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-20 17:02:45 +0200
commit7995bd287134f6c8f80d94bebe7396f05a9bc42b (patch)
tree7e94bb13bb30b8549892ed93e0e5b11d8b642bc2 /fs/internal.h
parentmconsole: we'd better initialize pos before passing it to vfs_read()... (diff)
downloadlinux-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.h6
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;