提交 130610d6 编写于 作者: J Jens Axboe

splice: add void cookie to the actor data

We need that for passing driver private info.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 0452a4e5
......@@ -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 */
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册