|
@@ -4243,12 +4243,6 @@ out:
|
|
return sret;
|
|
return sret;
|
|
}
|
|
}
|
|
|
|
|
|
-static void tracing_pipe_buf_release(struct pipe_inode_info *pipe,
|
|
|
|
- struct pipe_buffer *buf)
|
|
|
|
-{
|
|
|
|
- __free_page(buf->page);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static void tracing_spd_release_pipe(struct splice_pipe_desc *spd,
|
|
static void tracing_spd_release_pipe(struct splice_pipe_desc *spd,
|
|
unsigned int idx)
|
|
unsigned int idx)
|
|
{
|
|
{
|
|
@@ -4260,7 +4254,7 @@ static const struct pipe_buf_operations tracing_pipe_buf_ops = {
|
|
.map = generic_pipe_buf_map,
|
|
.map = generic_pipe_buf_map,
|
|
.unmap = generic_pipe_buf_unmap,
|
|
.unmap = generic_pipe_buf_unmap,
|
|
.confirm = generic_pipe_buf_confirm,
|
|
.confirm = generic_pipe_buf_confirm,
|
|
- .release = tracing_pipe_buf_release,
|
|
|
|
|
|
+ .release = generic_pipe_buf_release,
|
|
.steal = generic_pipe_buf_steal,
|
|
.steal = generic_pipe_buf_steal,
|
|
.get = generic_pipe_buf_get,
|
|
.get = generic_pipe_buf_get,
|
|
};
|
|
};
|