1 Star 0 Fork 44

chegJH/lxc

forked from src-openEuler/lxc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0029-just-use-origin-loop-if-do-not-have-io.patch 735 Bytes
一键复制 编辑 原始数据 按行查看 历史
haozi007 提交于 2021-09-17 15:21 +08:00 . just use origin loop if do not have io
From 21aba903a2e0d744eb54a7737bc11585c2be9aa3 Mon Sep 17 00:00:00 2001
From: haozi007 <liuhao27@huawei.com>
Date: Fri, 17 Sep 2021 08:18:14 +0100
Subject: [PATCH] just use origin loop if do not have io
Signed-off-by: haozi007 <liuhao27@huawei.com>
---
src/lxc/start.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index e6e2170..52ea561 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -590,7 +590,7 @@ int lxc_poll(const char *name, struct lxc_handler *handler)
}
#endif
- ret = isulad_safe_mainloop(&descr, -1);
+ ret = lxc_mainloop(&descr, -1);
close_prot_errno_disarm(descr.epfd);
if (ret < 0 || !handler->init_died)
goto out_mainloop_console;
--
2.20.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chegJH/lxc.git
git@gitee.com:chegJH/lxc.git
chegJH
lxc
lxc
master

搜索帮助