From: Aristeu Rozanski Date: Tue, 6 Nov 2012 15:25:04 +0000 (-0800) Subject: device_cgroup: fix unchecked cgroup parent usage X-Git-Tag: v3.7-rc6~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64e104771351d365e51e588a0e9a656ae6ed2f50;p=pandora-kernel.git device_cgroup: fix unchecked cgroup parent usage In 4cef7299b478687 ("device_cgroup: add proper checking when changing default behavior") the cgroup parent usage is unchecked. root will not have a parent and trying to use device.{allow,deny} will cause problems. For some reason my stressing scripts didn't test the root directory so I didn't catch it on my regular tests. Signed-off-by: Aristeu Rozanski Cc: Li Zefan Cc: James Morris Cc: Pavel Emelyanov Acked-by: Serge E. Hallyn Cc: Jiri Slaby Cc: Tejun Heo Signed-off-by: Tejun Heo --- Reading git-diff-tree failed