diff options
author | Ivana Varekova <varekova@redhat.com> | 2009-06-18 07:50:30 +0200 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-06-18 19:49:38 +0530 |
commit | d32491c49637e3c21f46048cc6c505eb41cbe3e0 (patch) | |
tree | c64a8b46f2a2fc7560a0a7a24c450bdc04527408 /tests/get_controller.c | |
parent | 5620d31b78fda7d5db0b85fcceca9c2cabe8f155 (diff) | |
download | libcg-d32491c49637e3c21f46048cc6c505eb41cbe3e0.tar.gz libcg-d32491c49637e3c21f46048cc6c505eb41cbe3e0.tar.xz libcg-d32491c49637e3c21f46048cc6c505eb41cbe3e0.zip |
Prevent to add multiple versions of the same controller to mount_table
This patche add a test to cgroup_init function, which prevent to add
multiple records for the same controller (this is a problem eg. in
cgroup_get_cgroup function - which looks to mount table and add all
relevant controllers using cgroup_add_controller function and when the
function calls cgroup_add_cgroup function twice on the same controller,
it returns error so the result is cgroup_get_cgroup failed).
Signed-off-by: Ivana Varekova <varekova@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'tests/get_controller.c')
0 files changed, 0 insertions, 0 deletions