diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-06-12 20:51:32 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-10 08:04:16 +0200 |
commit | 0845718dafea3e16041d270c256e8516acf4e13d (patch) | |
tree | 5b572e9bf4a13e05d0c3a9b8c36745ef06a92d58 /fs/splice.c | |
parent | cac36bb06efe4880234524e117e0e712b10b1f16 (diff) | |
download | linux-stable-0845718dafea3e16041d270c256e8516acf4e13d.tar.gz linux-stable-0845718dafea3e16041d270c256e8516acf4e13d.tar.bz2 linux-stable-0845718dafea3e16041d270c256e8516acf4e13d.zip |
pipe: add documentation and comments
As per Andrew Mortons request, here's a set of documentation for
the generic pipe_buf_operations hooks, the pipe, and pipe_buffer
structures.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/splice.c')
-rw-r--r-- | fs/splice.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/splice.c b/fs/splice.c index c804121601b0..ed2ce995475c 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -85,6 +85,10 @@ static void page_cache_pipe_buf_release(struct pipe_inode_info *pipe, buf->flags &= ~PIPE_BUF_FLAG_LRU; } +/* + * Check whether the contents of buf is OK to access. Since the content + * is a page cache page, IO may be in flight. + */ static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, struct pipe_buffer *buf) { |