diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-06-11 12:00:45 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-10 08:04:14 +0200 |
commit | 497f9625c2bbd6a8525fb2eedb22a382a6a8253c (patch) | |
tree | 8637f882dbe2eea6a731a6df0317a276bf2cfec3 /include/linux | |
parent | d6b29d7cee064f28ca097e906de7453541351095 (diff) | |
download | op-kernel-dev-497f9625c2bbd6a8525fb2eedb22a382a6a8253c.zip op-kernel-dev-497f9625c2bbd6a8525fb2eedb22a382a6a8253c.tar.gz |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pipe_fs_i.h | 1 | ||||
-rw-r--r-- | include/linux/splice.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index 7ba228d..4409167 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h @@ -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 { diff --git a/include/linux/splice.h b/include/linux/splice.h index f8cc97f..33e447f 100644 --- a/include/linux/splice.h +++ b/include/linux/splice.h @@ -41,6 +41,7 @@ struct splice_desc { struct partial_page { unsigned int offset; unsigned int len; + unsigned long private; }; /* |