Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Linux-御风守护者
linux
提交
3ba13d17
L
linux
项目概览
Linux-御风守护者
/
linux
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3ba13d17
编写于
2月 20, 2009
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
constify dentry_operations: rest
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
296c2d86
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
7 addition
and
7 deletion
+7
-7
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/perfmon.c
+1
-1
fs/anon_inodes.c
fs/anon_inodes.c
+1
-1
fs/libfs.c
fs/libfs.c
+1
-1
fs/pipe.c
fs/pipe.c
+1
-1
kernel/cgroup.c
kernel/cgroup.c
+1
-1
net/socket.c
net/socket.c
+1
-1
net/sunrpc/rpc_pipe.c
net/sunrpc/rpc_pipe.c
+1
-1
未找到文件。
arch/ia64/kernel/perfmon.c
浏览文件 @
3ba13d17
...
...
@@ -2196,7 +2196,7 @@ pfmfs_delete_dentry(struct dentry *dentry)
return
1
;
}
static
struct
dentry_operations
pfmfs_dentry_operations
=
{
static
const
struct
dentry_operations
pfmfs_dentry_operations
=
{
.
d_delete
=
pfmfs_delete_dentry
,
};
...
...
fs/anon_inodes.c
浏览文件 @
3ba13d17
...
...
@@ -48,7 +48,7 @@ static struct file_system_type anon_inode_fs_type = {
.
get_sb
=
anon_inodefs_get_sb
,
.
kill_sb
=
kill_anon_super
,
};
static
struct
dentry_operations
anon_inodefs_dentry_operations
=
{
static
const
struct
dentry_operations
anon_inodefs_dentry_operations
=
{
.
d_delete
=
anon_inodefs_delete_dentry
,
};
...
...
fs/libfs.c
浏览文件 @
3ba13d17
...
...
@@ -44,7 +44,7 @@ static int simple_delete_dentry(struct dentry *dentry)
*/
struct
dentry
*
simple_lookup
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
struct
nameidata
*
nd
)
{
static
struct
dentry_operations
simple_dentry_operations
=
{
static
const
struct
dentry_operations
simple_dentry_operations
=
{
.
d_delete
=
simple_delete_dentry
,
};
...
...
fs/pipe.c
浏览文件 @
3ba13d17
...
...
@@ -870,7 +870,7 @@ static char *pipefs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry
->
d_inode
->
i_ino
);
}
static
struct
dentry_operations
pipefs_dentry_operations
=
{
static
const
struct
dentry_operations
pipefs_dentry_operations
=
{
.
d_delete
=
pipefs_delete_dentry
,
.
d_dname
=
pipefs_dname
,
};
...
...
kernel/cgroup.c
浏览文件 @
3ba13d17
...
...
@@ -1627,7 +1627,7 @@ static struct inode_operations cgroup_dir_inode_operations = {
static
int
cgroup_create_file
(
struct
dentry
*
dentry
,
int
mode
,
struct
super_block
*
sb
)
{
static
struct
dentry_operations
cgroup_dops
=
{
static
const
struct
dentry_operations
cgroup_dops
=
{
.
d_iput
=
cgroup_diput
,
};
...
...
net/socket.c
浏览文件 @
3ba13d17
...
...
@@ -328,7 +328,7 @@ static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry
->
d_inode
->
i_ino
);
}
static
struct
dentry_operations
sockfs_dentry_operations
=
{
static
const
struct
dentry_operations
sockfs_dentry_operations
=
{
.
d_delete
=
sockfs_delete_dentry
,
.
d_dname
=
sockfs_dname
,
};
...
...
net/sunrpc/rpc_pipe.c
浏览文件 @
3ba13d17
...
...
@@ -480,7 +480,7 @@ static int rpc_delete_dentry(struct dentry *dentry)
return
1
;
}
static
struct
dentry_operations
rpc_dentry_operations
=
{
static
const
struct
dentry_operations
rpc_dentry_operations
=
{
.
d_delete
=
rpc_delete_dentry
,
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录