提交 3bf5f042 编写于 作者: P Peter Krempa

sanlock: Fix condition left crippled while debugging

上级 1e0534a7
......@@ -702,7 +702,7 @@ static int virLockManagerSanlockAcquire(virLockManagerPtr lock,
goto error;
}
if (state && STRNEQ(state, "") && 0) {
if (state && STRNEQ(state, "")) {
if ((rv = sanlock_state_to_args((char *)state,
&res_count,
&res_args)) < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册