Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
632861f0
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看板
提交
632861f0
编写于
7月 26, 2011
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
pohmelfs: propagate umode_t
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
09208d15
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
6 deletion
+7
-6
drivers/staging/pohmelfs/dir.c
drivers/staging/pohmelfs/dir.c
+4
-3
drivers/staging/pohmelfs/netfs.h
drivers/staging/pohmelfs/netfs.h
+1
-1
fs/ramfs/inode.c
fs/ramfs/inode.c
+1
-1
include/linux/ramfs.h
include/linux/ramfs.h
+1
-1
未找到文件。
drivers/staging/pohmelfs/dir.c
浏览文件 @
632861f0
...
...
@@ -590,13 +590,13 @@ struct dentry *pohmelfs_lookup(struct inode *dir, struct dentry *dentry, struct
* during writeback for given inode.
*/
struct
pohmelfs_inode
*
pohmelfs_create_entry_local
(
struct
pohmelfs_sb
*
psb
,
struct
pohmelfs_inode
*
parent
,
struct
qstr
*
str
,
u64
start
,
in
t
mode
)
struct
pohmelfs_inode
*
parent
,
struct
qstr
*
str
,
u64
start
,
umode_
t
mode
)
{
struct
pohmelfs_inode
*
npi
;
int
err
=
-
ENOMEM
;
struct
netfs_inode_info
info
;
dprintk
(
"%s: name: '%s', mode: %o, start: %llu.
\n
"
,
dprintk
(
"%s: name: '%s', mode: %
h
o, start: %llu.
\n
"
,
__func__
,
str
->
name
,
mode
,
start
);
info
.
mode
=
mode
;
...
...
@@ -630,7 +630,8 @@ struct pohmelfs_inode *pohmelfs_create_entry_local(struct pohmelfs_sb *psb,
/*
* Create local object and bind it to dentry.
*/
static
int
pohmelfs_create_entry
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
u64
start
,
int
mode
)
static
int
pohmelfs_create_entry
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
u64
start
,
umode_t
mode
)
{
struct
pohmelfs_sb
*
psb
=
POHMELFS_SB
(
dir
->
i_sb
);
struct
pohmelfs_inode
*
npi
,
*
parent
;
...
...
drivers/staging/pohmelfs/netfs.h
浏览文件 @
632861f0
...
...
@@ -776,7 +776,7 @@ struct pohmelfs_name *pohmelfs_search_hash(struct pohmelfs_inode *pi, u32 hash);
void
pohmelfs_inode_del_inode
(
struct
pohmelfs_sb
*
psb
,
struct
pohmelfs_inode
*
pi
);
struct
pohmelfs_inode
*
pohmelfs_create_entry_local
(
struct
pohmelfs_sb
*
psb
,
struct
pohmelfs_inode
*
parent
,
struct
qstr
*
str
,
u64
start
,
in
t
mode
);
struct
pohmelfs_inode
*
parent
,
struct
qstr
*
str
,
u64
start
,
umode_
t
mode
);
int
pohmelfs_write_create_inode
(
struct
pohmelfs_inode
*
pi
);
...
...
fs/ramfs/inode.c
浏览文件 @
632861f0
...
...
@@ -52,7 +52,7 @@ static struct backing_dev_info ramfs_backing_dev_info = {
};
struct
inode
*
ramfs_get_inode
(
struct
super_block
*
sb
,
const
struct
inode
*
dir
,
in
t
mode
,
dev_t
dev
)
const
struct
inode
*
dir
,
umode_
t
mode
,
dev_t
dev
)
{
struct
inode
*
inode
=
new_inode
(
sb
);
...
...
include/linux/ramfs.h
浏览文件 @
632861f0
...
...
@@ -2,7 +2,7 @@
#define _LINUX_RAMFS_H
struct
inode
*
ramfs_get_inode
(
struct
super_block
*
sb
,
const
struct
inode
*
dir
,
in
t
mode
,
dev_t
dev
);
umode_
t
mode
,
dev_t
dev
);
extern
struct
dentry
*
ramfs_mount
(
struct
file_system_type
*
fs_type
,
int
flags
,
const
char
*
dev_name
,
void
*
data
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录