diff options
author | Tejun Heo <tj@kernel.org> | 2015-08-05 16:03:19 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-08-05 16:03:19 -0400 |
commit | d0ec4230a077521a984ac604acbd8c15cc12a664 (patch) | |
tree | 83e773cd268eabc429dea1f3d88a87ac726f8057 /kernel/cgroup.c | |
parent | 6abc8ca19df0078de17dc38340db3002ed489ce7 (diff) | |
download | linux-d0ec4230a077521a984ac604acbd8c15cc12a664.tar.bz2 |
cgroup: export cgrp_dfl_root
While cgroup subsystems can't be modules, blkcg supports dynamically
loadable policies which interact with cgroup core. Export
cgrp_dfl_root so that cgroup_on_dfl() can be used in those modules.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index f89d9292eee6..3f6641632f73 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -145,6 +145,7 @@ static const char *cgroup_subsys_name[] = { * part of that cgroup. */ struct cgroup_root cgrp_dfl_root; +EXPORT_SYMBOL_GPL(cgrp_dfl_root); /* * The default hierarchy always exists but is hidden until mounted for the |