diff options
| author | Tejun Heo <[email protected]> | 2015-10-15 17:00:43 -0400 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2015-10-15 17:00:43 -0400 |
| commit | 035f4f510583193949168c77dc957293df24bd77 (patch) | |
| tree | fe5e1d12e1618db770ee41025a55bd29552b44e7 /tools/perf/util/c++/clang-test.cpp | |
| parent | afcf6c8b75444382e0f9996157207ebae34a8848 (diff) | |
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 <[email protected]>
Acked-by: Li Zefan <[email protected]>
Cc: Johannes Weiner <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions