diff options
author | Tejun Heo <tj@kernel.org> | 2015-10-15 17:00:43 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-10-15 17:00:43 -0400 |
commit | 035f4f510583193949168c77dc957293df24bd77 (patch) | |
tree | fe5e1d12e1618db770ee41025a55bd29552b44e7 /Documentation/cgroups/unified-hierarchy.txt | |
parent | cgroup: add cgroup_subsys->free() method and use it to fix pids controller (diff) | |
download | linux-dev-035f4f510583193949168c77dc957293df24bd77.tar.xz linux-dev-035f4f510583193949168c77dc957293df24bd77.zip |
cgroup: replace error handling in cgroup_init() with WARN_ON()s
The init sequence shouldn't fail short of bugs and even when it does
it's better to continue with the rest of initialization and we were
silently ignoring /proc/cgroups creation failure.
Drop the explicit error handling and wrap sysfs_create_mount_point(),
register_filesystem() and proc_create() with WARN_ON()s.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions