mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
pipe: allow passing around of ops private pointer
relay needs this for proper consumption handling, and the network receive support needs it as well to lookup the sk_buff on pipe release. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
d6b29d7cee
commit
497f9625c2
3 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ struct pipe_buffer {
|
|||
unsigned int offset, len;
|
||||
const struct pipe_buf_operations *ops;
|
||||
unsigned int flags;
|
||||
unsigned long private;
|
||||
};
|
||||
|
||||
struct pipe_inode_info {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue