Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
576b1d67
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
576b1d67
编写于
7月 26, 2011
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xfs: propagate umode_t
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
dd716e64
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
13 addition
and
13 deletion
+13
-13
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_ialloc.c
+2
-2
fs/xfs/xfs_ialloc.h
fs/xfs/xfs_ialloc.h
+1
-1
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.c
+2
-2
fs/xfs/xfs_inode.h
fs/xfs/xfs_inode.h
+1
-1
fs/xfs/xfs_iops.c
fs/xfs/xfs_iops.c
+1
-1
fs/xfs/xfs_utils.c
fs/xfs/xfs_utils.c
+1
-1
fs/xfs/xfs_utils.h
fs/xfs/xfs_utils.h
+1
-1
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.c
+2
-2
fs/xfs/xfs_vnodeops.h
fs/xfs/xfs_vnodeops.h
+2
-2
未找到文件。
fs/xfs/xfs_ialloc.c
浏览文件 @
576b1d67
...
...
@@ -447,7 +447,7 @@ STATIC xfs_buf_t * /* allocation group buffer */
xfs_ialloc_ag_select
(
xfs_trans_t
*
tp
,
/* transaction pointer */
xfs_ino_t
parent
,
/* parent directory inode number */
mode_t
mode
,
/* bits set to indicate file type */
u
mode_t
mode
,
/* bits set to indicate file type */
int
okalloc
)
/* ok to allocate more space */
{
xfs_buf_t
*
agbp
;
/* allocation group header buffer */
...
...
@@ -640,7 +640,7 @@ int
xfs_dialloc
(
xfs_trans_t
*
tp
,
/* transaction pointer */
xfs_ino_t
parent
,
/* parent inode (directory) */
mode_t
mode
,
/* mode bits for new inode */
u
mode_t
mode
,
/* mode bits for new inode */
int
okalloc
,
/* ok to allocate more space */
xfs_buf_t
**
IO_agbp
,
/* in/out ag header's buffer */
boolean_t
*
alloc_done
,
/* true if we needed to replenish
...
...
fs/xfs/xfs_ialloc.h
浏览文件 @
576b1d67
...
...
@@ -81,7 +81,7 @@ int /* error */
xfs_dialloc
(
struct
xfs_trans
*
tp
,
/* transaction pointer */
xfs_ino_t
parent
,
/* parent inode (directory) */
mode_t
mode
,
/* mode bits for new inode */
u
mode_t
mode
,
/* mode bits for new inode */
int
okalloc
,
/* ok to allocate more space */
struct
xfs_buf
**
agbp
,
/* buf for a.g. inode header */
boolean_t
*
alloc_done
,
/* an allocation was done to replenish
...
...
fs/xfs/xfs_inode.c
浏览文件 @
576b1d67
...
...
@@ -961,7 +961,7 @@ int
xfs_ialloc
(
xfs_trans_t
*
tp
,
xfs_inode_t
*
pip
,
mode_t
mode
,
u
mode_t
mode
,
xfs_nlink_t
nlink
,
xfs_dev_t
rdev
,
prid_t
prid
,
...
...
@@ -1002,7 +1002,7 @@ xfs_ialloc(
return
error
;
ASSERT
(
ip
!=
NULL
);
ip
->
i_d
.
di_mode
=
(
__uint16_t
)
mode
;
ip
->
i_d
.
di_mode
=
mode
;
ip
->
i_d
.
di_onlink
=
0
;
ip
->
i_d
.
di_nlink
=
nlink
;
ASSERT
(
ip
->
i_d
.
di_nlink
==
nlink
);
...
...
fs/xfs/xfs_inode.h
浏览文件 @
576b1d67
...
...
@@ -481,7 +481,7 @@ void xfs_inode_free(struct xfs_inode *ip);
/*
* xfs_inode.c prototypes.
*/
int
xfs_ialloc
(
struct
xfs_trans
*
,
xfs_inode_t
*
,
mode_t
,
int
xfs_ialloc
(
struct
xfs_trans
*
,
xfs_inode_t
*
,
u
mode_t
,
xfs_nlink_t
,
xfs_dev_t
,
prid_t
,
int
,
struct
xfs_buf
**
,
boolean_t
*
,
xfs_inode_t
**
);
...
...
fs/xfs/xfs_iops.c
浏览文件 @
576b1d67
...
...
@@ -366,7 +366,7 @@ xfs_vn_symlink(
struct
xfs_inode
*
cip
=
NULL
;
struct
xfs_name
name
;
int
error
;
mode_t
mode
;
u
mode_t
mode
;
mode
=
S_IFLNK
|
(
irix_symlink_mode
?
0777
&
~
current_umask
()
:
S_IRWXUGO
);
...
...
fs/xfs/xfs_utils.c
浏览文件 @
576b1d67
...
...
@@ -53,7 +53,7 @@ xfs_dir_ialloc(
output: may be a new transaction. */
xfs_inode_t
*
dp
,
/* directory within whose allocate
the inode. */
mode_t
mode
,
u
mode_t
mode
,
xfs_nlink_t
nlink
,
xfs_dev_t
rdev
,
prid_t
prid
,
/* project id */
...
...
fs/xfs/xfs_utils.h
浏览文件 @
576b1d67
...
...
@@ -18,7 +18,7 @@
#ifndef __XFS_UTILS_H__
#define __XFS_UTILS_H__
extern
int
xfs_dir_ialloc
(
xfs_trans_t
**
,
xfs_inode_t
*
,
mode_t
,
xfs_nlink_t
,
extern
int
xfs_dir_ialloc
(
xfs_trans_t
**
,
xfs_inode_t
*
,
u
mode_t
,
xfs_nlink_t
,
xfs_dev_t
,
prid_t
,
int
,
xfs_inode_t
**
,
int
*
);
extern
int
xfs_droplink
(
xfs_trans_t
*
,
xfs_inode_t
*
);
extern
int
xfs_bumplink
(
xfs_trans_t
*
,
xfs_inode_t
*
);
...
...
fs/xfs/xfs_vnodeops.c
浏览文件 @
576b1d67
...
...
@@ -822,7 +822,7 @@ int
xfs_create
(
xfs_inode_t
*
dp
,
struct
xfs_name
*
name
,
mode_t
mode
,
u
mode_t
mode
,
xfs_dev_t
rdev
,
xfs_inode_t
**
ipp
)
{
...
...
@@ -1481,7 +1481,7 @@ xfs_symlink(
xfs_inode_t
*
dp
,
struct
xfs_name
*
link_name
,
const
char
*
target_path
,
mode_t
mode
,
u
mode_t
mode
,
xfs_inode_t
**
ipp
)
{
xfs_mount_t
*
mp
=
dp
->
i_mount
;
...
...
fs/xfs/xfs_vnodeops.h
浏览文件 @
576b1d67
...
...
@@ -26,7 +26,7 @@ int xfs_release(struct xfs_inode *ip);
int
xfs_inactive
(
struct
xfs_inode
*
ip
);
int
xfs_lookup
(
struct
xfs_inode
*
dp
,
struct
xfs_name
*
name
,
struct
xfs_inode
**
ipp
,
struct
xfs_name
*
ci_name
);
int
xfs_create
(
struct
xfs_inode
*
dp
,
struct
xfs_name
*
name
,
mode_t
mode
,
int
xfs_create
(
struct
xfs_inode
*
dp
,
struct
xfs_name
*
name
,
u
mode_t
mode
,
xfs_dev_t
rdev
,
struct
xfs_inode
**
ipp
);
int
xfs_remove
(
struct
xfs_inode
*
dp
,
struct
xfs_name
*
name
,
struct
xfs_inode
*
ip
);
...
...
@@ -35,7 +35,7 @@ int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
int
xfs_readdir
(
struct
xfs_inode
*
dp
,
void
*
dirent
,
size_t
bufsize
,
xfs_off_t
*
offset
,
filldir_t
filldir
);
int
xfs_symlink
(
struct
xfs_inode
*
dp
,
struct
xfs_name
*
link_name
,
const
char
*
target_path
,
mode_t
mode
,
struct
xfs_inode
**
ipp
);
const
char
*
target_path
,
u
mode_t
mode
,
struct
xfs_inode
**
ipp
);
int
xfs_set_dmattrs
(
struct
xfs_inode
*
ip
,
u_int
evmask
,
u_int16_t
state
);
int
xfs_change_file_space
(
struct
xfs_inode
*
ip
,
int
cmd
,
xfs_flock64_t
*
bf
,
xfs_off_t
offset
,
int
attr_flags
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录