Messages in this thread | | | Date | Mon, 14 Jul 2014 10:42:57 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH 4/5] cgroup: distinguish the default and legacy hierarchies when handling cftypes |
| |
On Mon, Jul 14, 2014 at 10:13:27AM +0800, Li Zefan wrote: > I think we should remove this flag in cgroup_rm_cftypes_locked(). Otherwise > if we call cgroup_add_dlf_cftypes() and then cgroup_rm_cftypes() and then > cgroup_add_legacy_cftypes() for the same @cfts, both CFTYPE_ONLY_ON_DFL and > CFTYPE_INSANE are set.
Heh, that's unlikely to actually happen but yes clearing would be better. Will update accordingly.
Thanks.
-- tejun
| |