diff options
author | Tejun Heo <tj@kernel.org> | 2012-11-19 17:13:38 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-19 17:13:38 +0100 |
commit | b1929db42f8a649d9a9e397119f628c27fd4021f (patch) | |
tree | 04c0fa6f056395f8d17b5cd918403547be3f1425 /net/sched/cls_cgroup.c | |
parent | cgroup: update cgroup_create() failure path (diff) | |
download | linux-b1929db42f8a649d9a9e397119f628c27fd4021f.tar.xz linux-b1929db42f8a649d9a9e397119f628c27fd4021f.zip |
cgroup: allow ->post_create() to fail
There could be cases where controllers want to do initialization
operations which may fail from ->post_create(). This patch makes
->post_create() return -errno to indicate failure and online_css()
relay such failures.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Glauber Costa <glommer@parallels.com>
Diffstat (limited to 'net/sched/cls_cgroup.c')
0 files changed, 0 insertions, 0 deletions