]> git.proxmox.com Git - mirror_lxc.git/commit
cgmanager: drop the cgm_supports_multiple_controllers bool
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 13 Jan 2016 18:05:18 +0000 (10:05 -0800)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 13 Jan 2016 18:05:18 +0000 (10:05 -0800)
commit3e376eee6a71b3357c4614c42577c4d9fc87a33a
tree7de4be586145d00d5a037ac9f0aa694fbb00122a
parenta571193241b6162980df4d5e90aad453de4cac44
cgmanager: drop the cgm_supports_multiple_controllers bool

What we want is to make sure we dont' use controller 'all' if cgmanager
doesn't support, if all our cgroups aren't the same, or if we cannot
controll all our cgroups.  We were mixing some of these conditions.  Use
cgm_all_controllers_same for all.  (Might want to rename it, but we want
to stick with just one).

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/cgmanager.c