From: Li Zefan Date: Wed, 4 Jun 2014 08:48:15 +0000 (+0800) Subject: cgroup: don't destroy the default root X-Git-Tag: omap-for-v3.16/fixes-against-rc1~81^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f779fb28aa07350d72976d304591d216ca86f0e;p=pandora-kernel.git cgroup: don't destroy the default root The default root is allocated and initialized at boot phase, so we shouldn't destroy the default root when it's umounted, otherwise it will lead to disaster. Just try mount and then umount the default root, and the kernel will crash immediately. v2: - No need to check for CSS_NO_REF in cgroup_get/put(). (Tejun) - Better call cgroup_put() for the default root in kill_sb(). (Tejun) - Add a comment. Signed-off-by: Li Zefan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed