]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
cgroup_change_cgroup_flags: use templates if they are in rules
authorIvana Hutarova Varekova <varekova@redhat.com>
Mon, 28 Jan 2013 13:44:53 +0000 (14:44 +0100)
committerIvana Hutarova Varekova <varekova@redhat.com>
Mon, 28 Jan 2013 13:44:53 +0000 (14:44 +0100)
    cgroup_change_cgroup_flags:
    use cgroup_config_create_template_group instead of cgroup_create_cgroup
    -> this function reads configure file, if it is not already cached and
    use template setting from if the template is used in rule and the group
    does not exist yet.

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Acked-by: Jan Safranek<jsafrane@redhat.com>

No differences found