[CRIU] [PATCH 1/3] cg: Don't close cgyard early when inherit cgroups

Pavel Emelyanov xemul at parallels.com
Fri Aug 8 06:58:22 PDT 2014


Fix for closed cgyard descriptor for changed cgroup was 9752c11d.
One more place left.

Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 cgroup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cgroup.c b/cgroup.c
index 8ccefc2..0af29c2 100644
--- a/cgroup.c
+++ b/cgroup.c
@@ -876,7 +876,6 @@ int prepare_task_cgroup(struct pstree_item *me)
 
 	if (me->rst->cg_set == current_cgset) {
 		pr_info("Cgroups %d inherited from parent\n", current_cgset);
-		close_service_fd(CGROUP_YARD);
 		return 0;
 	}
 
-- 
1.8.4.2



More information about the CRIU mailing list