]> err.no Git - linux-2.6/commitdiff
splice: add void cookie to the actor data
authorJens Axboe <jens.axboe@oracle.com>
Tue, 12 Jun 2007 19:20:00 +0000 (21:20 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 06:04:14 +0000 (08:04 +0200)
We need that for passing driver private info.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/pipe_fs_i.h

index 6e7bfc125425bd7b74779668d86307c2a092d784..f277a9cdb50d3a4a34c85ce93b0e4083487e29c1 100644 (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 */
 };