projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0452a4e
)
splice: add void cookie to the actor data
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 12 Jun 2007 19:20:00 +0000
(21:20 +0200)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/include/linux/pipe_fs_i.h
b/include/linux/pipe_fs_i.h
index
6e7bfc1
..
f277a9c
100644
(file)
--- 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 */
};