Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
f81dc7d7
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f81dc7d7
编写于
10月 31, 2016
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
splice_pipe_desc: kill ->flags
no users left Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
23c832b1
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
0 addition
and
5 deletion
+0
-5
include/linux/splice.h
include/linux/splice.h
+0
-1
kernel/relay.c
kernel/relay.c
+0
-1
kernel/trace/trace.c
kernel/trace/trace.c
+0
-2
net/core/skbuff.c
net/core/skbuff.c
+0
-1
未找到文件。
include/linux/splice.h
浏览文件 @
f81dc7d7
...
@@ -55,7 +55,6 @@ struct splice_pipe_desc {
...
@@ -55,7 +55,6 @@ struct splice_pipe_desc {
struct
partial_page
*
partial
;
/* pages[] may not be contig */
struct
partial_page
*
partial
;
/* pages[] may not be contig */
int
nr_pages
;
/* number of populated pages in map */
int
nr_pages
;
/* number of populated pages in map */
unsigned
int
nr_pages_max
;
/* pages[] & partial[] arrays size */
unsigned
int
nr_pages_max
;
/* pages[] & partial[] arrays size */
unsigned
int
flags
;
/* splice flags */
const
struct
pipe_buf_operations
*
ops
;
/* ops associated with output pipe */
const
struct
pipe_buf_operations
*
ops
;
/* ops associated with output pipe */
void
(
*
spd_release
)(
struct
splice_pipe_desc
*
,
unsigned
int
);
void
(
*
spd_release
)(
struct
splice_pipe_desc
*
,
unsigned
int
);
};
};
...
...
kernel/relay.c
浏览文件 @
f81dc7d7
...
@@ -1212,7 +1212,6 @@ static ssize_t subbuf_splice_actor(struct file *in,
...
@@ -1212,7 +1212,6 @@ static ssize_t subbuf_splice_actor(struct file *in,
.
nr_pages
=
0
,
.
nr_pages
=
0
,
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
partial
=
partial
,
.
partial
=
partial
,
.
flags
=
flags
,
.
ops
=
&
relay_pipe_buf_ops
,
.
ops
=
&
relay_pipe_buf_ops
,
.
spd_release
=
relay_page_release
,
.
spd_release
=
relay_page_release
,
};
};
...
...
kernel/trace/trace.c
浏览文件 @
f81dc7d7
...
@@ -5536,7 +5536,6 @@ static ssize_t tracing_splice_read_pipe(struct file *filp,
...
@@ -5536,7 +5536,6 @@ static ssize_t tracing_splice_read_pipe(struct file *filp,
.
partial
=
partial_def
,
.
partial
=
partial_def
,
.
nr_pages
=
0
,
/* This gets updated below. */
.
nr_pages
=
0
,
/* This gets updated below. */
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
flags
=
flags
,
.
ops
=
&
tracing_pipe_buf_ops
,
.
ops
=
&
tracing_pipe_buf_ops
,
.
spd_release
=
tracing_spd_release_pipe
,
.
spd_release
=
tracing_spd_release_pipe
,
};
};
...
@@ -6434,7 +6433,6 @@ tracing_buffers_splice_read(struct file *file, loff_t *ppos,
...
@@ -6434,7 +6433,6 @@ tracing_buffers_splice_read(struct file *file, loff_t *ppos,
.
pages
=
pages_def
,
.
pages
=
pages_def
,
.
partial
=
partial_def
,
.
partial
=
partial_def
,
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
flags
=
flags
,
.
ops
=
&
buffer_pipe_buf_ops
,
.
ops
=
&
buffer_pipe_buf_ops
,
.
spd_release
=
buffer_spd_release
,
.
spd_release
=
buffer_spd_release
,
};
};
...
...
net/core/skbuff.c
浏览文件 @
f81dc7d7
...
@@ -1976,7 +1976,6 @@ int skb_splice_bits(struct sk_buff *skb, struct sock *sk, unsigned int offset,
...
@@ -1976,7 +1976,6 @@ int skb_splice_bits(struct sk_buff *skb, struct sock *sk, unsigned int offset,
.
pages
=
pages
,
.
pages
=
pages
,
.
partial
=
partial
,
.
partial
=
partial
,
.
nr_pages_max
=
MAX_SKB_FRAGS
,
.
nr_pages_max
=
MAX_SKB_FRAGS
,
.
flags
=
flags
,
.
ops
=
&
nosteal_pipe_buf_ops
,
.
ops
=
&
nosteal_pipe_buf_ops
,
.
spd_release
=
sock_spd_release
,
.
spd_release
=
sock_spd_release
,
};
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录