On Mon, Oct 12, 2020 at 06:27:57PM +0800, Chen Zhou wrote: > When mounting a cgroup hierarchy with disabled controller in cgroup v1, > all available controllers will be attached. > > Add disabled controller check in cgroup1_parse_param() and return directly > if the specified controller is disabled. > > Signed-off-by: Chen Zhou <chenzhou10@xxxxxxxxxx> check_cgroupfs_options() is already checking the condition. How does also checking in parse_param() help? Thanks. -- tejun