diff options
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, | |||
85 | buf->flags &= ~PIPE_BUF_FLAG_LRU; | 85 | buf->flags &= ~PIPE_BUF_FLAG_LRU; |
86 | } | 86 | } |
87 | 87 | ||
88 | /* | ||
89 | * Check whether the contents of buf is OK to access. Since the content | ||
90 | * is a page cache page, IO may be in flight. | ||
91 | */ | ||
88 | static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, | 92 | static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, |
89 | struct pipe_buffer *buf) | 93 | struct pipe_buffer *buf) |
90 | { | 94 | { |