diff options
author | Aristeu Rozanski <aris@redhat.com> | 2012-11-06 07:25:04 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-06 07:25:20 -0800 |
commit | 64e104771351d365e51e588a0e9a656ae6ed2f50 (patch) | |
tree | e5078e0ba32729735846aa465c1f53f5d98c11ac /fs/ext2 | |
parent | 3d70f8c617a436c7146ecb81df2265b4626dfe89 (diff) |
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>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions