Browse Source

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>
Jens Axboe 18 years ago
parent
commit
130610d6f6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/linux/pipe_fs_i.h

+ 1 - 0
include/linux/pipe_fs_i.h

@@ -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 */
 };
 };