summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/sysfs.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-06-25 20:53:37 +0200
committerTejun Heo <tj@kernel.org>2013-06-25 20:53:37 +0200
commitfc76df706123602214da494ba98bccea83e2cfff (patch)
tree27ff818b65d9c2866ba1caee3c739ec9f9232337 /drivers/cpuidle/sysfs.c
parentcgroup: implement for_each_[builtin_]subsys() (diff)
downloadlinux-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/cpuidle/sysfs.c')
0 files changed, 0 insertions, 0 deletions