summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-10-16 00:00:43 +0300
committerTejun Heo <tj@kernel.org>2015-10-16 00:00:43 +0300
commit035f4f510583193949168c77dc957293df24bd77 (patch)
treefe5e1d12e1618db770ee41025a55bd29552b44e7 /net/lapb/lapb_subr.c
parentafcf6c8b75444382e0f9996157207ebae34a8848 (diff)
downloadlinux-035f4f510583193949168c77dc957293df24bd77.tar.xz
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions