]> git.proxmox.com Git - mirror_lxc.git/commit
Move common code to lxc_cgroup_create
authorDaniel Lezcano <daniel.lezcano@free.fr>
Fri, 17 Dec 2010 10:43:37 +0000 (11:43 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 17 Dec 2010 10:43:37 +0000 (11:43 +0100)
commitef342abb22c1354b3523ce3c46e613e13ab79399
tree65b6db221cca80634c7369916a3a760b1a0eaa95
parent36b862992a8e685534774a59793fb5c5bad46fae
Move common code to lxc_cgroup_create

For both the ns_cgroup and the usual cgroup creation, we have to
check if a previous does not exist and remove it if it is empty.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/cgroup.c