]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgroup: the library can be re-initialize by cgroup_init()
authorJan Safranek <jsafrane@redhat.com>
Fri, 23 Sep 2011 11:52:59 +0000 (13:52 +0200)
committerJan Safranek <jsafrane@redhat.com>
Thu, 3 Nov 2011 09:12:46 +0000 (10:12 +0100)
commite90c93acc08a09e34dab1021a2479358a664438e
treede6e0a1d4370b9313f23cb4bf1144e24da84d0b2
parent5b27d1f095d579c8f5c59c701f28d28a5c8b581f
libcgroup: the library can be re-initialize by cgroup_init()

cgroup_init() can be called several times in sequence. New call completelly
rewrites old data, i.e. things that were unmounted between two
cgroup_init() calls disappear and new mount points show up.

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
src/api.c