This one needs an update after 2/4 has changed as well:

diff --git a/src/api.c b/src/api.c
index 2a0d9a7..7c96caa 100644
--- a/src/api.c
+++ b/src/api.c
@@ -1435,9 +1435,7 @@ int cgroup_create_cgroup(struct cgroup *cgroup, int 
ignore_ownership)
                        if (!error) {
                                error = cg_chmod_recursive(cgroup,
                                                cgroup->control_dperm,
-                                               cgroup->control_dperm != -1U,
-                                               cgroup->control_fperm,
-                                               cgroup->control_fperm != -1U);
+                                               cgroup->control_fperm);
                        }
                }
 
-- 
Michal Hocko
SUSE Labs
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9    
Czech Republic

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to