Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1204093

Re: [PATCH cgroup/for-4.3 1/3] cgroup: replace error handling in cgroup_init() with WARN_ON()s

From Zefan Li <lizefan@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH cgroup/for-4.3 1/3] cgroup: replace error handling in cgroup_init() with WARN_ON()s
Date 2015-08-10 12:30 +0200
Message-ID <pVSva-3oY-75@gated-at.bofh.it> (permalink)
References <pUaFQ-811-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2015/8/6 1:20, Tejun Heo wrote:
> 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>
> Cc: Li Zefan <lizefan@huawei.com>
> Cc: Johannes Weiner <hannes@cmpxchg.org>

acked

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH cgroup/for-4.3 1/3] cgroup: replace error handling in  cgroup_init() with WARN_ON()s Tejun Heo <tj@kernel.org> - 2015-08-05 19:30 +0200
  [PATCH cgroup/for-4.3 3/3] cgroup: replace __DEVEL__sane_behavior  with cgroup2 fs type Tejun Heo <tj@kernel.org> - 2015-08-05 19:30 +0200
    Re: [PATCH cgroup/for-4.3 3/3] cgroup: replace __DEVEL__sane_behavior  with cgroup2 fs type Zefan Li <lizefan@huawei.com> - 2015-08-10 12:30 +0200
  Re: [PATCH cgroup/for-4.3 2/3] cgroup: drop  cgroup__DEVEL__legacy_files_on_dfl Tejun Heo <tj@kernel.org> - 2015-08-05 19:30 +0200
  Re: [PATCH cgroup/for-4.3 1/3] cgroup: replace error handling in  cgroup_init() with WARN_ON()s Zefan Li <lizefan@huawei.com> - 2015-08-10 12:30 +0200

csiph-web