]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
Remove merge comments and left overs from previous merge
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Sun, 11 May 2008 11:25:38 +0000 (11:25 +0000)
committerBalbir Singh <balbir@linux.vnet.ibm.com>
Sun, 11 May 2008 11:25:38 +0000 (11:25 +0000)
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/branches/balbir@27 4f4bb910-9a46-0410-90c8-c897d4f1cd53

api.c

diff --git a/api.c b/api.c
index b154de1715b9ca7d3825195408c0d9544a790315..f88be3f47dfd41f48f44a080412fa93f3b57992f 100644 (file)
--- a/api.c
+++ b/api.c
@@ -361,16 +361,9 @@ int cg_create_cgroup(struct cgroup *cgroup, int ignore_ownership)
 
        strcpy(base, path);
 
-<<<<<<< .mine
        if (!ignore_ownership)
                cg_chown_recursive(fts_path, cgroup->control_uid,
                                        cgroup->control_gid);
-=======
-       if (!ignore_ownership)
-               error = cg_chown_recursive(fts_path, cgroup->control_uid,
-                                               cgroup->control_gid);
->>>>>>> .r18
-
        if (error)
                goto err;
 
@@ -406,11 +399,7 @@ err:
  *
  *  returns 0 on success.
  */
-<<<<<<< .mine
-int cg_delete_cgroup(struct cgroup *cgroup, int ignore_tasks)
-=======
 int cg_delete_cgroup(struct cgroup *cgroup, int ignore_migration)
->>>>>>> .r18
 {
        FILE *delete_tasks, *base_tasks;
        int tids;
@@ -443,11 +432,7 @@ int cg_delete_cgroup(struct cgroup *cgroup, int ignore_migration)
 del_open_err:
        fclose(base_tasks);
 base_open_err:
-<<<<<<< .mine
-       if (ignore_tasks) {
-=======
        if (ignore_migration) {
->>>>>>> .r18
                cg_build_path(cgroup->name, path);
                error = rmdir(path);
        }