diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-07-01 14:05:09 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-07-01 14:05:09 +0000 |
commit | fd13e9f6d4f315018fc88258ba965c32e12601da (patch) | |
tree | cf50097167492756530eb25c89904c4d550f2475 /api.c | |
parent | 4f1301efe29a3a37470d10a4bb6a497f2e532be5 (diff) | |
download | libcg-fd13e9f6d4f315018fc88258ba965c32e12601da.tar.gz libcg-fd13e9f6d4f315018fc88258ba965c32e12601da.tar.xz libcg-fd13e9f6d4f315018fc88258ba965c32e12601da.zip |
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>
libcgroup: put common code in a function
This patch puts the common code for creating cgroup structure into
a function struct cgroup *new_cgroup(). The function uses few global
variables which are changed before the function call and takes few
variables as arguments.
Signed-off-by: Sudhir Kumar <skumar@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@93 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'api.c')
0 files changed, 0 insertions, 0 deletions