From: Jens Axboe Date: Tue, 12 Jun 2007 19:20:00 +0000 (+0200) Subject: splice: add void cookie to the actor data X-Git-Tag: v2.6.23-rc1~1157^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=130610d6f681c5d970340897f5db000d04a7ef78;p=thirdparty%2Fkernel%2Flinux.git splice: add void cookie to the actor data We need that for passing driver private info. Signed-off-by: Jens Axboe --- diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index 6e7bfc125425b..f277a9cdb50d3 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h @@ -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 */ };