cgroup: short-circuit current_cgns_cgroup_from_root() on the default hierarchy
authorMiaohe Lin <linmiaohe@huawei.com>
Sun, 29 Sep 2019 08:06:58 +0000 (16:06 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 7 Oct 2019 14:01:09 +0000 (07:01 -0700)
commit61e867fde21ea94f2166899f24f16cad85cc7b24
treee605042ea7666a1c90fa01fb9e353bbfc32d926c
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce
cgroup: short-circuit current_cgns_cgroup_from_root() on the default hierarchy

Like commit 13d82fb77abb ("cgroup: short-circuit cset_cgroup_from_root() on
the default hierarchy"), short-circuit current_cgns_cgroup_from_root() on
the default hierarchy.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c