On Tuesday 2015-11-17 20:40, Tejun Heo wrote:
>+static inline bool cgroup_is_descendant(struct cgroup *cgrp,
>+                                      struct cgroup *ancestor)

(const struct group *cgrp, const struct group *ancestor)

>+{
>+      if (cgrp->root != ancestor->root || cgrp->level < ancestor->level)
>+              return false;
>+      return cgrp->ancestor_ids[ancestor->level] == ancestor->id;
>+}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to