commit | e2fa9731029a050e6bb0012143ab449eb10e161e | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Nov 14 11:49:02 2012 -0800 |
committer | Tejun Heo <tj@kernel.org> | Wed Nov 14 11:49:02 2012 -0800 |
tree | 611a22ce6f1e780a6715f941d33c37899512bbf1 | |
parent | eaf41584325e22a21612f8ebcc7c9bcd471ac6de [diff] |
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> Cc: Glauber Costa <glommer@parallels.com>