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 /tools/perf/scripts/python/export-to-postgresql.py | |
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 <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions