Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
3d27573c
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看板
提交
3d27573c
编写于
5月 19, 2017
作者:
M
Miklos Szeredi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ovl: remove unused arg from ovl_lookup_temp()
Signed-off-by:
N
Miklos Szeredi
<
mszeredi@redhat.com
>
上级
21a22878
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
6 deletion
+6
-6
fs/overlayfs/copy_up.c
fs/overlayfs/copy_up.c
+1
-1
fs/overlayfs/dir.c
fs/overlayfs/dir.c
+4
-4
fs/overlayfs/overlayfs.h
fs/overlayfs/overlayfs.h
+1
-1
未找到文件。
fs/overlayfs/copy_up.c
浏览文件 @
3d27573c
...
...
@@ -346,7 +346,7 @@ static int ovl_copy_up_locked(struct dentry *workdir, struct dentry *upperdir,
if
(
tmpfile
)
temp
=
ovl_do_tmpfile
(
upperdir
,
stat
->
mode
);
else
temp
=
ovl_lookup_temp
(
workdir
,
dentry
);
temp
=
ovl_lookup_temp
(
workdir
);
err
=
0
;
if
(
IS_ERR
(
temp
))
{
err
=
PTR_ERR
(
temp
);
...
...
fs/overlayfs/dir.c
浏览文件 @
3d27573c
...
...
@@ -41,7 +41,7 @@ void ovl_cleanup(struct inode *wdir, struct dentry *wdentry)
}
}
struct
dentry
*
ovl_lookup_temp
(
struct
dentry
*
workdir
,
struct
dentry
*
dentry
)
struct
dentry
*
ovl_lookup_temp
(
struct
dentry
*
workdir
)
{
struct
dentry
*
temp
;
char
name
[
20
];
...
...
@@ -68,7 +68,7 @@ static struct dentry *ovl_whiteout(struct dentry *workdir,
struct
dentry
*
whiteout
;
struct
inode
*
wdir
=
workdir
->
d_inode
;
whiteout
=
ovl_lookup_temp
(
workdir
,
dentry
);
whiteout
=
ovl_lookup_temp
(
workdir
);
if
(
IS_ERR
(
whiteout
))
return
whiteout
;
...
...
@@ -261,7 +261,7 @@ static struct dentry *ovl_clear_empty(struct dentry *dentry,
if
(
upper
->
d_parent
->
d_inode
!=
udir
)
goto
out_unlock
;
opaquedir
=
ovl_lookup_temp
(
workdir
,
dentry
);
opaquedir
=
ovl_lookup_temp
(
workdir
);
err
=
PTR_ERR
(
opaquedir
);
if
(
IS_ERR
(
opaquedir
))
goto
out_unlock
;
...
...
@@ -393,7 +393,7 @@ static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode,
if
(
err
)
goto
out
;
newdentry
=
ovl_lookup_temp
(
workdir
,
dentry
);
newdentry
=
ovl_lookup_temp
(
workdir
);
err
=
PTR_ERR
(
newdentry
);
if
(
IS_ERR
(
newdentry
))
goto
out_unlock
;
...
...
fs/overlayfs/overlayfs.h
浏览文件 @
3d27573c
...
...
@@ -262,7 +262,7 @@ static inline void ovl_copyattr(struct inode *from, struct inode *to)
/* dir.c */
extern
const
struct
inode_operations
ovl_dir_inode_operations
;
struct
dentry
*
ovl_lookup_temp
(
struct
dentry
*
workdir
,
struct
dentry
*
dentry
);
struct
dentry
*
ovl_lookup_temp
(
struct
dentry
*
workdir
);
struct
cattr
{
dev_t
rdev
;
umode_t
mode
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录