On 2015/7/25 2:43, Tejun Heo wrote:
> This allows cgroup subsystems to use a different name on the unified
> hierarchy. cgroup_subsys->name is used on the unified hierarchy,
> ->legacy_name elsewhere. If ->legacy_name is not explicitly set, it's
> automatically set to ->name and the userland visi
On Tue, Jul 28, 2015 at 02:39:36PM +0800, Zefan Li wrote:
> > @@ -1448,7 +1451,8 @@ static int parse_cgroupfs_options(char *data, struct
> > cgroup_sb_opts *opts)
> > }
> >
> > for_each_subsys(ss, i) {
> > - if (strcmp(token, ss->name))
> > +
> @@ -1448,7 +1451,8 @@ static int parse_cgroupfs_options(char *data, struct
> cgroup_sb_opts *opts)
> }
>
> for_each_subsys(ss, i) {
> - if (strcmp(token, ss->name))
> + if (strcmp(token, ss->name) &&
> +
This allows cgroup subsystems to use a different name on the unified
hierarchy. cgroup_subsys->name is used on the unified hierarchy,
->legacy_name elsewhere. If ->legacy_name is not explicitly set, it's
automatically set to ->name and the userland visible behavior remains
unchanged.
Signed-off-
4 matches
Mail list logo