From: Tejun Heo Date: Tue, 25 Jun 2013 18:53:37 +0000 (-0700) Subject: cgroup: reserve ID 0 for dummy_root and 1 for unified hierarchy X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~44^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc76df706123602214da494ba98bccea83e2cfff;p=pandora-kernel.git 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 Acked-by: Li Zefan Cc: stable@vger.kernel.org --- Reading git-diff-tree failed