]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgroup: Add a cgroup element to point to the owner in the controller
authorDhaval Giani <dhaval.giani@gmail.com>
Fri, 29 Jun 2012 09:37:39 +0000 (15:07 +0530)
committerDhaval Giani <dhaval.giani@gmail.com>
Thu, 2 Aug 2012 14:52:09 +0000 (10:52 -0400)
commit24de1da89def830bcc267e57da0d7f0bb8dcb904
treee277f23cf4119ae2a1f49386b4bec7b526e6cc34
parentca32d88ef56b12e207a2b1fe87c08f91e607a7da
libcgroup: Add a cgroup element to point to the owner in the controller

Since the only way to create a controller is from the wrapper API, it is
always linked to one cgroup. Since it would help knowing which cgroup a
controller belongs to, let's just add that information in there.

Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
Cc: Glauber Costa <glommer@parallels.com>
src/libcgroup-internal.h
src/wrapper.c