Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753277AbbG1PXR (ORCPT ); Tue, 28 Jul 2015 11:23:17 -0400 Received: from mail-yk0-f170.google.com ([209.85.160.170]:35673 "EHLO mail-yk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751785AbbG1PXN (ORCPT ); Tue, 28 Jul 2015 11:23:13 -0400 Date: Tue, 28 Jul 2015 11:23:10 -0400 From: Tejun Heo To: Zefan Li Cc: axboe@kernel.dk, vgoyal@redhat.com, linux-kernel@vger.kernel.org, avanzini.arianna@gmail.com, kernel-team@fb.com, hannes@cmpxchg.org, cgroups@vger.kernel.org Subject: Re: [PATCH 02/10] cgroup: introduce cgroup_subsys->legacy_name Message-ID: <20150728152310.GB454@mtj.duckdns.org> References: <1437763434-28699-1-git-send-email-tj@kernel.org> <1437763434-28699-3-git-send-email-tj@kernel.org> <55B723A8.1080201@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55B723A8.1080201@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 24 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)) > > + 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? Yeah, good point. Will update the patch. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/