Re: [PATCH v2 cgroup/for-5.20] cgroup: Replace cgroup->ancestor_ids[] with ->ancestors[]

From: Michal Koutný
Date: Fri Jul 29 2022 - 18:42:20 EST


On Fri, Jul 29, 2022 at 10:58:22AM -1000, Tejun Heo <tj@xxxxxxxxxx> wrote:
> @@ -520,8 +520,8 @@ struct cgroup_root {
> /* The root cgroup. Root is destroyed on its release. */
> struct cgroup cgrp;
>
> - /* for cgrp->ancestor_ids[0] */
> - u64 cgrp_ancestor_id_storage;
> + /* for cgrp->ancestors[0] */
> + u64 cgrp_ancestor_storage;

Just noticed, this member is (and was AFAICS) superfluous.


Michal