]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
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)
commit931fbf55d2870d2ece4beecbb7c489db4f96289a
treedc02147cb5ff2427219bc0b653bb77e3315c4a8b
parent6bc26fe74a1159baef12c2d6043fa5c1726a5193
cgroup_change_cgroup_flags: use templates if they are in rules

    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>