summaryrefslogtreecommitdiffstats
path: root/include/linux/splice.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-06-20 18:58:36 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-20 19:02:45 +0400
commit7995bd287134f6c8f80d94bebe7396f05a9bc42b (patch)
tree7e94bb13bb30b8549892ed93e0e5b11d8b642bc2 /include/linux/splice.h
parentc9036e9f3b2b77f678572260e1ef1075fcb08c36 (diff)
splice: don't pass the address of ->f_pos to methods
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/splice.h')
-rw-r--r--include/linux/splice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/splice.h b/include/linux/splice.h
index 09a545a7dfa..74575cbf2d6 100644
--- a/include/linux/splice.h
+++ b/include/linux/splice.h
@@ -35,6 +35,7 @@ struct splice_desc {
void *data; /* cookie */
} u;
loff_t pos; /* file position */
+ loff_t *opos; /* sendfile: output position */
size_t num_spliced; /* number of bytes already spliced */
bool need_wakeup; /* need to wake up writer */
};