diff options
author | Tejun Heo <tj@kernel.org> | 2013-06-25 11:53:37 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-06-25 11:53:37 -0700 |
commit | fc76df706123602214da494ba98bccea83e2cfff (patch) | |
tree | 27ff818b65d9c2866ba1caee3c739ec9f9232337 /scripts/checksyscalls.sh | |
parent | 30159ec7a9db7f3c91e2b27e66389c49302efd5c (diff) | |
download | blackbird-op-linux-fc76df706123602214da494ba98bccea83e2cfff.tar.gz blackbird-op-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 'scripts/checksyscalls.sh')
0 files changed, 0 insertions, 0 deletions