• T
    cgroup: always use cgroup_css() · 40e93b39
    Tejun Heo 提交于
    cgroup_css() is the accessor for cgroup->subsys[] but is not used
    consistently.  cgroup->subsys[] will become RCU protected and
    cgroup_css() will grow synchronization sanity checks.  In preparation,
    make all cgroup->subsys[] dereferences use cgroup_css() consistently.
    
    This patch doesn't introduce any functional difference.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: NLi Zefan <lizefan@huawei.com>
    40e93b39
cgroup.c 154.8 KB