commit | 42861fdb05c2ea48ddc6d283eadef2466fae2763 | [log] [download] |
---|---|---|
author | Glauber Costa <glommer@parallels.com> | Wed Sep 19 16:42:13 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Sep 20 16:49:54 2012 +0400 |
tree | 2bf3d2b20507b1d9d6a6bc877ef4f01c9e227669 | |
parent | a984867a497a71bb5c165308030a5d9f1237fabb [diff] |
change header of cgroup configuration function We were deadling with mostly long quantities up to now. When we start dealing with the device cgroup, it is a lot more convenient to pass a string (passing the struct dev directly would also work). So as a first step, change the function signature to accept a void pointer instead. We provide a val = _val void-to-ulong translation to minimize disruption to the rest of the code Signed-off-by: Glauber Costa <glommer@parallels.com>