commit | 7c918cbbd829669bf70ffcc45962d5d992942243 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Aug 26 18:40:56 2013 -0400 |
committer | Tejun Heo <tj@kernel.org> | Mon Aug 26 18:40:56 2013 -0400 |
tree | 32103bb699a0a70e8b81fdbdbad1bdb3c0cf2b25 | |
parent | 7941cb027dccedec3c047271554ddcf4be2e0697 [diff] |
cgroup: make cgroup_write_event_control() use css_from_dir() instead of __d_cgrp() cgroup_event will be moved to its only user - memcg. Replace __d_cgrp() usage with css_from_dir(), which is already exported. This also simplifies the code a bit. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>