commit | 42809dd4225b2f3127a4804314a1b33608620d96 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Nov 19 08:13:37 2012 -0800 |
committer | Tejun Heo <tj@kernel.org> | Mon Nov 19 08:13:37 2012 -0800 |
tree | 7600d71baff46173b9b2c051a3530a4a4b7c9582 | |
parent | 02ae7486d05ae6df8395409a4945b2420f1e35c2 [diff] |
cgroup: separate out cgroup_destroy_locked() Separate out cgroup_destroy_locked() from cgroup_destroy(). This will be later used in cgroup_create() failure path. While at it, add lockdep asserts on i_mutex and cgroup_mutex, and move @d and @parent assignments to their declarations. This patch doesn't introduce any functional difference. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>