Skip to content

Commit

Permalink
splice: add void cookie to the actor data
Browse files Browse the repository at this point in the history
We need that for passing driver private info.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Jul 10, 2007
1 parent 0452a4e commit 130610d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/pipe_fs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down

0 comments on commit 130610d

Please sign in to comment.