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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */
};