[lxc-devel] [lxc/stable-3.0] start: don't call cgroup_exit() twice

brauner on Github lxc-bot at linuxcontainers.org
Thu Nov 22 22:20:24 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181122/e294bd01/attachment.bin>
-------------- next part --------------
From b4791df348d428ff559b35cb491ca5a161839ea3 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Thu, 22 Nov 2018 23:19:09 +0100
Subject: [PATCH] start: don't call cgroup_exit() twice

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 src/lxc/start.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lxc/start.c b/src/lxc/start.c
index c094642add..72e2de2715 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -988,7 +988,6 @@ void lxc_fini(const char *name, struct lxc_handler *handler)
 		free(namespaces[namespace_count]);
 
 	cgroup_ops->destroy(cgroup_ops, handler);
-	cgroup_exit(cgroup_ops);
 
 	if (handler->conf->reboot == REBOOT_NONE) {
 		/* For all new state clients simply close the command socket.


More information about the lxc-devel mailing list