diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-06-12 15:20:00 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-10 02:04:14 -0400 |
commit | 130610d6f681c5d970340897f5db000d04a7ef78 (patch) | |
tree | 045d76211f000979f7a028c225b73b6917e087a1 | |
parent | 0452a4e5d021900b07ebdeecb9ed03b49f164f3f (diff) |
splice: add void cookie to the actor data
We need that for passing driver private info.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r-- | include/linux/pipe_fs_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index 6e7bfc125425..f277a9cdb50d 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h | |||
@@ -94,6 +94,7 @@ struct splice_desc { | |||
94 | union { | 94 | union { |
95 | void __user *userptr; /* memory to write to */ | 95 | void __user *userptr; /* memory to write to */ |
96 | struct file *file; /* file to read/write */ | 96 | struct file *file; /* file to read/write */ |
97 | void *data; /* cookie */ | ||
97 | } u; | 98 | } u; |
98 | loff_t pos; /* file position */ | 99 | loff_t pos; /* file position */ |
99 | }; | 100 | }; |