Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
a7d25539
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看板
提交
a7d25539
编写于
4月 27, 2007
作者:
M
Mark Fasheh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ocfs2: fix sparse warnings in fs/ocfs2/dlm
Signed-off-by:
N
Mark Fasheh
<
mark.fasheh@oracle.com
>
上级
1ca1a111
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
8 deletion
+8
-8
fs/ocfs2/dlm/dlmast.c
fs/ocfs2/dlm/dlmast.c
+6
-6
fs/ocfs2/dlm/dlmrecovery.c
fs/ocfs2/dlm/dlmrecovery.c
+2
-2
未找到文件。
fs/ocfs2/dlm/dlmast.c
浏览文件 @
a7d25539
...
...
@@ -312,8 +312,8 @@ int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data,
past
->
type
!=
DLM_BAST
)
{
mlog
(
ML_ERROR
,
"Unknown ast type! %d, cookie=%u:%llu"
"name=%.*s
\n
"
,
past
->
type
,
dlm_get_lock_cookie_node
(
be64_to_cpu
(
cookie
)
),
dlm_get_lock_cookie_seq
(
be64_to_cpu
(
cookie
)
),
dlm_get_lock_cookie_node
(
cookie
),
dlm_get_lock_cookie_seq
(
cookie
),
locklen
,
name
);
ret
=
DLM_IVLOCKID
;
goto
leave
;
...
...
@@ -324,8 +324,8 @@ int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data,
mlog
(
0
,
"got %sast for unknown lockres! "
"cookie=%u:%llu, name=%.*s, namelen=%u
\n
"
,
past
->
type
==
DLM_AST
?
""
:
"b"
,
dlm_get_lock_cookie_node
(
be64_to_cpu
(
cookie
)
),
dlm_get_lock_cookie_seq
(
be64_to_cpu
(
cookie
)
),
dlm_get_lock_cookie_node
(
cookie
),
dlm_get_lock_cookie_seq
(
cookie
),
locklen
,
name
,
locklen
);
ret
=
DLM_IVLOCKID
;
goto
leave
;
...
...
@@ -370,8 +370,8 @@ int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data,
mlog
(
0
,
"got %sast for unknown lock! cookie=%u:%llu, "
"name=%.*s, namelen=%u
\n
"
,
past
->
type
==
DLM_AST
?
""
:
"b"
,
dlm_get_lock_cookie_node
(
be64_to_cpu
(
cookie
)
),
dlm_get_lock_cookie_seq
(
be64_to_cpu
(
cookie
)
),
dlm_get_lock_cookie_node
(
cookie
),
dlm_get_lock_cookie_seq
(
cookie
),
locklen
,
name
,
locklen
);
ret
=
DLM_NORMAL
;
...
...
fs/ocfs2/dlm/dlmrecovery.c
浏览文件 @
a7d25539
...
...
@@ -1769,7 +1769,7 @@ static int dlm_process_recovery_data(struct dlm_ctxt *dlm,
/* lock is always created locally first, and
* destroyed locally last. it must be on the list */
if
(
!
lock
)
{
u
64
c
=
ml
->
cookie
;
__be
64
c
=
ml
->
cookie
;
mlog
(
ML_ERROR
,
"could not find local lock "
"with cookie %u:%llu!
\n
"
,
dlm_get_lock_cookie_node
(
be64_to_cpu
(
c
)),
...
...
@@ -1878,7 +1878,7 @@ static int dlm_process_recovery_data(struct dlm_ctxt *dlm,
spin_lock
(
&
res
->
spinlock
);
list_for_each_entry
(
lock
,
queue
,
list
)
{
if
(
lock
->
ml
.
cookie
==
ml
->
cookie
)
{
u
64
c
=
lock
->
ml
.
cookie
;
__be
64
c
=
lock
->
ml
.
cookie
;
mlog
(
ML_ERROR
,
"%s:%.*s: %u:%llu: lock already "
"exists on this lockres!
\n
"
,
dlm
->
name
,
res
->
lockname
.
len
,
res
->
lockname
.
name
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录