Commit 130610d6 authored by Jens Axboe's avatar Jens Axboe

splice: add void cookie to the actor data

We need that for passing driver private info.
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 0452a4e5
...@@ -94,6 +94,7 @@ struct splice_desc { ...@@ -94,6 +94,7 @@ struct splice_desc {
union { union {
void __user *userptr; /* memory to write to */ void __user *userptr; /* memory to write to */
struct file *file; /* file to read/write */ struct file *file; /* file to read/write */
void *data; /* cookie */
} u; } u;
loff_t pos; /* file position */ loff_t pos; /* file position */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment