aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pipe_fs_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pipe_fs_i.h')
-rw-r--r--include/linux/pipe_fs_i.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h
index 883ba9b78d3f..6e7bfc125425 100644
--- a/include/linux/pipe_fs_i.h
+++ b/include/linux/pipe_fs_i.h
@@ -88,7 +88,13 @@ int generic_pipe_buf_steal(struct pipe_inode_info *, struct pipe_buffer *);
88struct splice_desc { 88struct splice_desc {
89 unsigned int len, total_len; /* current and remaining length */ 89 unsigned int len, total_len; /* current and remaining length */
90 unsigned int flags; /* splice flags */ 90 unsigned int flags; /* splice flags */
91 struct file *file; /* file to read/write */ 91 /*
92 * actor() private data
93 */
94 union {
95 void __user *userptr; /* memory to write to */
96 struct file *file; /* file to read/write */
97 } u;
92 loff_t pos; /* file position */ 98 loff_t pos; /* file position */
93}; 99};
94 100