Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
e16404ed
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
e16404ed
编写于
2月 20, 2009
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
constify dentry_operations: misc filesystems
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
f786aa90
变更
18
显示空白变更内容
内联
并排
Showing
18 changed file
with
22 addition
and
23 deletion
+22
-23
fs/adfs/adfs.h
fs/adfs/adfs.h
+1
-1
fs/adfs/dir.c
fs/adfs/dir.c
+1
-1
fs/affs/affs.h
fs/affs/affs.h
+1
-2
fs/affs/namei.c
fs/affs/namei.c
+2
-2
fs/coda/dir.c
fs/coda/dir.c
+1
-1
fs/hfs/hfs_fs.h
fs/hfs/hfs_fs.h
+1
-1
fs/hfs/sysdep.c
fs/hfs/sysdep.c
+1
-1
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/hfsplus_fs.h
+1
-1
fs/hfsplus/inode.c
fs/hfsplus/inode.c
+1
-1
fs/hostfs/hostfs_kern.c
fs/hostfs/hostfs_kern.c
+2
-2
fs/hpfs/dentry.c
fs/hpfs/dentry.c
+1
-1
fs/isofs/inode.c
fs/isofs/inode.c
+1
-1
fs/ncpfs/dir.c
fs/ncpfs/dir.c
+2
-2
fs/reiserfs/xattr.c
fs/reiserfs/xattr.c
+1
-1
fs/smbfs/dir.c
fs/smbfs/dir.c
+2
-2
fs/sysv/namei.c
fs/sysv/namei.c
+1
-1
fs/sysv/sysv.h
fs/sysv/sysv.h
+1
-1
include/linux/ncp_fs.h
include/linux/ncp_fs.h
+1
-1
未找到文件。
fs/adfs/adfs.h
浏览文件 @
e16404ed
...
...
@@ -86,7 +86,7 @@ void __adfs_error(struct super_block *sb, const char *function,
/* dir_*.c */
extern
const
struct
inode_operations
adfs_dir_inode_operations
;
extern
const
struct
file_operations
adfs_dir_operations
;
extern
struct
dentry_operations
adfs_dentry_operations
;
extern
const
struct
dentry_operations
adfs_dentry_operations
;
extern
struct
adfs_dir_ops
adfs_f_dir_ops
;
extern
struct
adfs_dir_ops
adfs_fplus_dir_ops
;
...
...
fs/adfs/dir.c
浏览文件 @
e16404ed
...
...
@@ -263,7 +263,7 @@ adfs_compare(struct dentry *parent, struct qstr *entry, struct qstr *name)
return
0
;
}
struct
dentry_operations
adfs_dentry_operations
=
{
const
struct
dentry_operations
adfs_dentry_operations
=
{
.
d_hash
=
adfs_hash
,
.
d_compare
=
adfs_compare
,
};
...
...
fs/affs/affs.h
浏览文件 @
e16404ed
...
...
@@ -199,8 +199,7 @@ extern const struct address_space_operations affs_symlink_aops;
extern
const
struct
address_space_operations
affs_aops
;
extern
const
struct
address_space_operations
affs_aops_ofs
;
extern
struct
dentry_operations
affs_dentry_operations
;
extern
struct
dentry_operations
affs_dentry_operations_intl
;
extern
const
struct
dentry_operations
affs_dentry_operations
;
static
inline
void
affs_set_blocksize
(
struct
super_block
*
sb
,
int
size
)
...
...
fs/affs/namei.c
浏览文件 @
e16404ed
...
...
@@ -19,12 +19,12 @@ static int affs_intl_toupper(int ch);
static
int
affs_intl_hash_dentry
(
struct
dentry
*
,
struct
qstr
*
);
static
int
affs_intl_compare_dentry
(
struct
dentry
*
,
struct
qstr
*
,
struct
qstr
*
);
struct
dentry_operations
affs_dentry_operations
=
{
const
struct
dentry_operations
affs_dentry_operations
=
{
.
d_hash
=
affs_hash_dentry
,
.
d_compare
=
affs_compare_dentry
,
};
static
struct
dentry_operations
affs_intl_dentry_operations
=
{
static
const
struct
dentry_operations
affs_intl_dentry_operations
=
{
.
d_hash
=
affs_intl_hash_dentry
,
.
d_compare
=
affs_intl_compare_dentry
,
};
...
...
fs/coda/dir.c
浏览文件 @
e16404ed
...
...
@@ -59,7 +59,7 @@ static int coda_return_EIO(void)
}
#define CODA_EIO_ERROR ((void *) (coda_return_EIO))
static
struct
dentry_operations
coda_dentry_operations
=
static
const
struct
dentry_operations
coda_dentry_operations
=
{
.
d_revalidate
=
coda_dentry_revalidate
,
.
d_delete
=
coda_dentry_delete
,
...
...
fs/hfs/hfs_fs.h
浏览文件 @
e16404ed
...
...
@@ -213,7 +213,7 @@ extern void hfs_mdb_put(struct super_block *);
extern
int
hfs_part_find
(
struct
super_block
*
,
sector_t
*
,
sector_t
*
);
/* string.c */
extern
struct
dentry_operations
hfs_dentry_operations
;
extern
const
struct
dentry_operations
hfs_dentry_operations
;
extern
int
hfs_hash_dentry
(
struct
dentry
*
,
struct
qstr
*
);
extern
int
hfs_strcmp
(
const
unsigned
char
*
,
unsigned
int
,
...
...
fs/hfs/sysdep.c
浏览文件 @
e16404ed
...
...
@@ -31,7 +31,7 @@ static int hfs_revalidate_dentry(struct dentry *dentry, struct nameidata *nd)
return
1
;
}
struct
dentry_operations
hfs_dentry_operations
=
const
struct
dentry_operations
hfs_dentry_operations
=
{
.
d_revalidate
=
hfs_revalidate_dentry
,
.
d_hash
=
hfs_hash_dentry
,
...
...
fs/hfsplus/hfsplus_fs.h
浏览文件 @
e16404ed
...
...
@@ -327,7 +327,7 @@ void hfsplus_file_truncate(struct inode *);
/* inode.c */
extern
const
struct
address_space_operations
hfsplus_aops
;
extern
const
struct
address_space_operations
hfsplus_btree_aops
;
extern
struct
dentry_operations
hfsplus_dentry_operations
;
extern
const
struct
dentry_operations
hfsplus_dentry_operations
;
void
hfsplus_inode_read_fork
(
struct
inode
*
,
struct
hfsplus_fork_raw
*
);
void
hfsplus_inode_write_fork
(
struct
inode
*
,
struct
hfsplus_fork_raw
*
);
...
...
fs/hfsplus/inode.c
浏览文件 @
e16404ed
...
...
@@ -137,7 +137,7 @@ const struct address_space_operations hfsplus_aops = {
.
writepages
=
hfsplus_writepages
,
};
struct
dentry_operations
hfsplus_dentry_operations
=
{
const
struct
dentry_operations
hfsplus_dentry_operations
=
{
.
d_hash
=
hfsplus_hash_dentry
,
.
d_compare
=
hfsplus_compare_dentry
,
};
...
...
fs/hostfs/hostfs_kern.c
浏览文件 @
e16404ed
...
...
@@ -31,12 +31,12 @@ static inline struct hostfs_inode_info *HOSTFS_I(struct inode *inode)
#define FILE_HOSTFS_I(file) HOSTFS_I((file)->f_path.dentry->d_inode)
int
hostfs_d_delete
(
struct
dentry
*
dentry
)
static
int
hostfs_d_delete
(
struct
dentry
*
dentry
)
{
return
1
;
}
struct
dentry_operations
hostfs_dentry_ops
=
{
st
atic
const
st
ruct
dentry_operations
hostfs_dentry_ops
=
{
.
d_delete
=
hostfs_d_delete
,
};
...
...
fs/hpfs/dentry.c
浏览文件 @
e16404ed
...
...
@@ -49,7 +49,7 @@ static int hpfs_compare_dentry(struct dentry *dentry, struct qstr *a, struct qst
return
0
;
}
static
struct
dentry_operations
hpfs_dentry_operations
=
{
static
const
struct
dentry_operations
hpfs_dentry_operations
=
{
.
d_hash
=
hpfs_hash_dentry
,
.
d_compare
=
hpfs_compare_dentry
,
};
...
...
fs/isofs/inode.c
浏览文件 @
e16404ed
...
...
@@ -114,7 +114,7 @@ static const struct super_operations isofs_sops = {
};
static
struct
dentry_operations
isofs_dentry_ops
[]
=
{
static
const
struct
dentry_operations
isofs_dentry_ops
[]
=
{
{
.
d_hash
=
isofs_hash
,
.
d_compare
=
isofs_dentry_cmp
,
...
...
fs/ncpfs/dir.c
浏览文件 @
e16404ed
...
...
@@ -79,7 +79,7 @@ static int ncp_hash_dentry(struct dentry *, struct qstr *);
static
int
ncp_compare_dentry
(
struct
dentry
*
,
struct
qstr
*
,
struct
qstr
*
);
static
int
ncp_delete_dentry
(
struct
dentry
*
);
static
struct
dentry_operations
ncp_dentry_operations
=
static
const
struct
dentry_operations
ncp_dentry_operations
=
{
.
d_revalidate
=
ncp_lookup_validate
,
.
d_hash
=
ncp_hash_dentry
,
...
...
@@ -87,7 +87,7 @@ static struct dentry_operations ncp_dentry_operations =
.
d_delete
=
ncp_delete_dentry
,
};
struct
dentry_operations
ncp_root_dentry_operations
=
const
struct
dentry_operations
ncp_root_dentry_operations
=
{
.
d_hash
=
ncp_hash_dentry
,
.
d_compare
=
ncp_compare_dentry
,
...
...
fs/reiserfs/xattr.c
浏览文件 @
e16404ed
...
...
@@ -1136,7 +1136,7 @@ xattr_lookup_poison(struct dentry *dentry, struct qstr *q1, struct qstr *name)
return
1
;
}
static
struct
dentry_operations
xattr_lookup_poison_ops
=
{
static
const
struct
dentry_operations
xattr_lookup_poison_ops
=
{
.
d_compare
=
xattr_lookup_poison
,
};
...
...
fs/smbfs/dir.c
浏览文件 @
e16404ed
...
...
@@ -277,7 +277,7 @@ static int smb_hash_dentry(struct dentry *, struct qstr *);
static
int
smb_compare_dentry
(
struct
dentry
*
,
struct
qstr
*
,
struct
qstr
*
);
static
int
smb_delete_dentry
(
struct
dentry
*
);
static
struct
dentry_operations
smbfs_dentry_operations
=
static
const
struct
dentry_operations
smbfs_dentry_operations
=
{
.
d_revalidate
=
smb_lookup_validate
,
.
d_hash
=
smb_hash_dentry
,
...
...
@@ -285,7 +285,7 @@ static struct dentry_operations smbfs_dentry_operations =
.
d_delete
=
smb_delete_dentry
,
};
static
struct
dentry_operations
smbfs_dentry_operations_case
=
static
const
struct
dentry_operations
smbfs_dentry_operations_case
=
{
.
d_revalidate
=
smb_lookup_validate
,
.
d_delete
=
smb_delete_dentry
,
...
...
fs/sysv/namei.c
浏览文件 @
e16404ed
...
...
@@ -38,7 +38,7 @@ static int sysv_hash(struct dentry *dentry, struct qstr *qstr)
return
0
;
}
struct
dentry_operations
sysv_dentry_operations
=
{
const
struct
dentry_operations
sysv_dentry_operations
=
{
.
d_hash
=
sysv_hash
,
};
...
...
fs/sysv/sysv.h
浏览文件 @
e16404ed
...
...
@@ -170,7 +170,7 @@ extern const struct file_operations sysv_file_operations;
extern
const
struct
file_operations
sysv_dir_operations
;
extern
const
struct
address_space_operations
sysv_aops
;
extern
const
struct
super_operations
sysv_sops
;
extern
struct
dentry_operations
sysv_dentry_operations
;
extern
const
struct
dentry_operations
sysv_dentry_operations
;
enum
{
...
...
include/linux/ncp_fs.h
浏览文件 @
e16404ed
...
...
@@ -204,7 +204,7 @@ void ncp_update_inode2(struct inode *, struct ncp_entry_info *);
/* linux/fs/ncpfs/dir.c */
extern
const
struct
inode_operations
ncp_dir_inode_operations
;
extern
const
struct
file_operations
ncp_dir_operations
;
extern
struct
dentry_operations
ncp_root_dentry_operations
;
extern
const
struct
dentry_operations
ncp_root_dentry_operations
;
int
ncp_conn_logged_in
(
struct
super_block
*
);
int
ncp_date_dos2unix
(
__le16
time
,
__le16
date
);
void
ncp_date_unix2dos
(
int
unix_date
,
__le16
*
time
,
__le16
*
date
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录