lkml.org 
[lkml]   [2015]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/10] cgroup: introduce cgroup_subsys->legacy_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) &&
> + strcmp(token, ss->legacy_name))
> continue;

As mounting with specified subsystems is only allowed in legacy hierarchy,
I think we should allow using leagcy name only?

> if (ss->disabled)
> continue;



\
 
 \ /
  Last update: 2015-07-28 09:01    [W:0.419 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site