Aristeu Rozanski 64e1047713 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 <aris@redhat.com>
Cc: Li Zefan <lizefan@huawei.com>
Cc: James Morris <jmorris@namei.org>
Cc: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
2012-11-06 07:25:20 -08:00
..
2012-10-05 22:32:16 +10:00
2012-10-16 13:36:50 -04:00
2012-10-11 20:02:04 -04:00
2012-10-11 20:02:04 -04:00
2012-09-28 13:37:32 +10:00
2012-10-11 20:02:04 -04:00
2012-01-10 10:20:35 -05:00
2012-02-10 09:18:52 +11:00
2012-10-11 20:02:04 -04:00