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>
This commit is contained in:
Jens Axboe 2007-06-12 21:20:00 +02:00
parent 0452a4e5d0
commit 130610d6f6
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ struct splice_desc {
union {
void __user *userptr; /* memory to write to */
struct file *file; /* file to read/write */
void *data; /* cookie */
} u;
loff_t pos; /* file position */
};