]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgrouptest: rename get_controller() to is_subsystem_enabled()
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 14 Jan 2009 17:33:05 +0000 (17:33 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 14 Jan 2009 17:33:05 +0000 (17:33 +0000)
commit267249123c6e97d8b3f13db1cf0f260f8244705a
tree5aa90e97f95b7a5ea046ac723add13091f7a4c8e
parent3ab8f66d9afc44d39b6a7b95a9651d744b74bb23
libcgrouptest: rename get_controller() to is_subsystem_enabled()

From: Sudhir Kumar <skumar@linux.vnet.ibm.com>

This patch renames the function get_controllers() to a more
meaningful name is_subsystem_enabled().

history:
The code in the patch is part of a patch sent in an earlier patchset,
which somehow got dropped (looks an older version of that patch was
merged to the tree). Adding this patch makes everything upstream upto
the discussion held on the list.

Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
Acked-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@314 4f4bb910-9a46-0410-90c8-c897d4f1cd53
tests/libcgrouptest.h
tests/libcgrouptest01.c
tests/test_functions.c