diff options
Diffstat (limited to 'fs/pipe.c')
-rw-r--r-- | fs/pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -184,8 +184,8 @@ void generic_pipe_buf_unmap(struct pipe_inode_info *pipe, | |||
184 | kunmap(buf->page); | 184 | kunmap(buf->page); |
185 | } | 185 | } |
186 | 186 | ||
187 | static int anon_pipe_buf_steal(struct pipe_inode_info *pipe, | 187 | int generic_pipe_buf_steal(struct pipe_inode_info *pipe, |
188 | struct pipe_buffer *buf) | 188 | struct pipe_buffer *buf) |
189 | { | 189 | { |
190 | struct page *page = buf->page; | 190 | struct page *page = buf->page; |
191 | 191 | ||
@@ -213,7 +213,7 @@ static struct pipe_buf_operations anon_pipe_buf_ops = { | |||
213 | .unmap = generic_pipe_buf_unmap, | 213 | .unmap = generic_pipe_buf_unmap, |
214 | .pin = generic_pipe_buf_pin, | 214 | .pin = generic_pipe_buf_pin, |
215 | .release = anon_pipe_buf_release, | 215 | .release = anon_pipe_buf_release, |
216 | .steal = anon_pipe_buf_steal, | 216 | .steal = generic_pipe_buf_steal, |
217 | .get = generic_pipe_buf_get, | 217 | .get = generic_pipe_buf_get, |
218 | }; | 218 | }; |
219 | 219 | ||