cgroup: Avoid extra dereference in css_populate_dir()
Use css directly instead of dereferencing it from &cgroup->self, while adding the cgroup v2 cft base and psi files in css_populate_dir(). Both points to the same css, when css->ss is NULL, this avoids extra deferences and makes code consistent in usage across the function. Signed-off-by:Kamalesh Babulal <kamalesh.babulal@oracle.com> Signed-off-by:
Tejun Heo <tj@kernel.org>
Showing
Please register or sign in to comment