diff options
author | Tejun Heo <tj@kernel.org> | 2014-05-13 12:19:22 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-13 12:19:22 -0400 |
commit | a9746d8da786bc79b3b4ae1baa0fbbc4b795c1b7 (patch) | |
tree | 4bc006ff8f7df66d8df51f51cd0e285797712ae9 /firmware/yamaha | |
parent | cfc79d5bec04cdf26cd207d3e73d8bd59fd780a8 (diff) |
cgroup: factor out cgroup_kn_lock_live() and cgroup_kn_unlock()
cgroup_mkdir(), cgroup_rmdir() and cgroup_subtree_control_write()
share the logic to break active protection so that they can grab
cgroup_tree_mutex which nests above active protection and/or remove
self. Factor out this logic into cgroup_kn_lock_live() and
cgroup_kn_unlock().
This patch doesn't introduce any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions