Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
6f3fc107
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
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看板
提交
6f3fc107
编写于
5月 14, 2016
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
orangefs: constify inode_operations
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
90090ae6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
6 deletion
+6
-6
fs/orangefs/inode.c
fs/orangefs/inode.c
+1
-1
fs/orangefs/namei.c
fs/orangefs/namei.c
+1
-1
fs/orangefs/orangefs-kernel.h
fs/orangefs/orangefs-kernel.h
+3
-3
fs/orangefs/symlink.c
fs/orangefs/symlink.c
+1
-1
未找到文件。
fs/orangefs/inode.c
浏览文件 @
6f3fc107
...
...
@@ -294,7 +294,7 @@ int orangefs_permission(struct inode *inode, int mask)
}
/* ORANGEDS2 implementation of VFS inode operations for files */
struct
inode_operations
orangefs_file_inode_operations
=
{
const
struct
inode_operations
orangefs_file_inode_operations
=
{
.
get_acl
=
orangefs_get_acl
,
.
set_acl
=
orangefs_set_acl
,
.
setattr
=
orangefs_setattr
,
...
...
fs/orangefs/namei.c
浏览文件 @
6f3fc107
...
...
@@ -438,7 +438,7 @@ static int orangefs_rename(struct inode *old_dir,
}
/* ORANGEFS implementation of VFS inode operations for directories */
struct
inode_operations
orangefs_dir_inode_operations
=
{
const
struct
inode_operations
orangefs_dir_inode_operations
=
{
.
lookup
=
orangefs_lookup
,
.
get_acl
=
orangefs_get_acl
,
.
set_acl
=
orangefs_set_acl
,
...
...
fs/orangefs/orangefs-kernel.h
浏览文件 @
6f3fc107
...
...
@@ -570,10 +570,10 @@ extern int hash_table_size;
extern
const
struct
address_space_operations
orangefs_address_operations
;
extern
struct
backing_dev_info
orangefs_backing_dev_info
;
extern
struct
inode_operations
orangefs_file_inode_operations
;
extern
const
struct
inode_operations
orangefs_file_inode_operations
;
extern
const
struct
file_operations
orangefs_file_operations
;
extern
struct
inode_operations
orangefs_symlink_inode_operations
;
extern
struct
inode_operations
orangefs_dir_inode_operations
;
extern
const
struct
inode_operations
orangefs_symlink_inode_operations
;
extern
const
struct
inode_operations
orangefs_dir_inode_operations
;
extern
const
struct
file_operations
orangefs_dir_operations
;
extern
const
struct
dentry_operations
orangefs_dentry_operations
;
extern
const
struct
file_operations
orangefs_devreq_file_operations
;
...
...
fs/orangefs/symlink.c
浏览文件 @
6f3fc107
...
...
@@ -8,7 +8,7 @@
#include "orangefs-kernel.h"
#include "orangefs-bufmap.h"
struct
inode_operations
orangefs_symlink_inode_operations
=
{
const
struct
inode_operations
orangefs_symlink_inode_operations
=
{
.
readlink
=
generic_readlink
,
.
get_link
=
simple_get_link
,
.
setattr
=
orangefs_setattr
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录