Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
f786aa90
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f786aa90
编写于
2月 20, 2009
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
constify dentry_operations: NFS
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
e56980d4
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
5 deletion
+5
-5
fs/nfs/dir.c
fs/nfs/dir.c
+2
-2
fs/nfs/nfs4_fs.h
fs/nfs/nfs4_fs.h
+1
-1
include/linux/nfs_fs.h
include/linux/nfs_fs.h
+1
-1
include/linux/nfs_xdr.h
include/linux/nfs_xdr.h
+1
-1
未找到文件。
fs/nfs/dir.c
浏览文件 @
f786aa90
...
...
@@ -899,7 +899,7 @@ static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
iput
(
inode
);
}
struct
dentry_operations
nfs_dentry_operations
=
{
const
struct
dentry_operations
nfs_dentry_operations
=
{
.
d_revalidate
=
nfs_lookup_revalidate
,
.
d_delete
=
nfs_dentry_delete
,
.
d_iput
=
nfs_dentry_iput
,
...
...
@@ -967,7 +967,7 @@ static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, stru
#ifdef CONFIG_NFS_V4
static
int
nfs_open_revalidate
(
struct
dentry
*
,
struct
nameidata
*
);
struct
dentry_operations
nfs4_dentry_operations
=
{
const
struct
dentry_operations
nfs4_dentry_operations
=
{
.
d_revalidate
=
nfs_open_revalidate
,
.
d_delete
=
nfs_dentry_delete
,
.
d_iput
=
nfs_dentry_iput
,
...
...
fs/nfs/nfs4_fs.h
浏览文件 @
f786aa90
...
...
@@ -179,7 +179,7 @@ struct nfs4_state_recovery_ops {
int
(
*
recover_lock
)(
struct
nfs4_state
*
,
struct
file_lock
*
);
};
extern
struct
dentry_operations
nfs4_dentry_operations
;
extern
const
struct
dentry_operations
nfs4_dentry_operations
;
extern
const
struct
inode_operations
nfs4_dir_inode_operations
;
/* inode.c */
...
...
include/linux/nfs_fs.h
浏览文件 @
f786aa90
...
...
@@ -415,7 +415,7 @@ extern const struct inode_operations nfs_dir_inode_operations;
extern
const
struct
inode_operations
nfs3_dir_inode_operations
;
#endif
/* CONFIG_NFS_V3 */
extern
const
struct
file_operations
nfs_dir_operations
;
extern
struct
dentry_operations
nfs_dentry_operations
;
extern
const
struct
dentry_operations
nfs_dentry_operations
;
extern
void
nfs_force_lookup_revalidate
(
struct
inode
*
dir
);
extern
int
nfs_instantiate
(
struct
dentry
*
dentry
,
struct
nfs_fh
*
fh
,
struct
nfs_fattr
*
fattr
);
...
...
include/linux/nfs_xdr.h
浏览文件 @
f786aa90
...
...
@@ -785,7 +785,7 @@ struct nfs_access_entry;
*/
struct
nfs_rpc_ops
{
u32
version
;
/* Protocol version */
struct
dentry_operations
*
dentry_ops
;
const
struct
dentry_operations
*
dentry_ops
;
const
struct
inode_operations
*
dir_inode_ops
;
const
struct
inode_operations
*
file_inode_ops
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录