commit | 40e93b39cd5b6a347333a95152ce37deef37bbd0 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Aug 13 11:01:53 2013 -0400 |
committer | Tejun Heo <tj@kernel.org> | Tue Aug 13 11:01:53 2013 -0400 |
tree | 6789f2b7310d828496358ccdac93b68d2abda415 | |
parent | bd8815a6d802fc16a7a106e170593aa05dc17e72 [diff] |
cgroup: always use cgroup_css() 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: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>