diff options
author | Tejun Heo <tj@kernel.org> | 2013-06-25 20:53:37 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-06-25 20:53:37 +0200 |
commit | fc76df706123602214da494ba98bccea83e2cfff (patch) | |
tree | 27ff818b65d9c2866ba1caee3c739ec9f9232337 /drivers/net/arcnet/com20020-pci.c | |
parent | cgroup: implement for_each_[builtin_]subsys() (diff) | |
download | linux-fc76df706123602214da494ba98bccea83e2cfff.tar.xz linux-fc76df706123602214da494ba98bccea83e2cfff.zip |
cgroup: reserve ID 0 for dummy_root and 1 for unified hierarchy
Before 1a57423166 ("cgroup: make hierarchy_id use cyclic idr"),
hierarchy IDs were allocated from 0. As the dummy hierarchy was
always the one first initialized, it got assigned 0 and all other
hierarchies from 1. The patch accidentally changed the minimum
useable ID to 2.
Let's restore ID 0 for dummy_root and while at it reserve 1 for
unified hierarchy.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/net/arcnet/com20020-pci.c')
0 files changed, 0 insertions, 0 deletions