cgroup: compare css to cgroup::self in helper for distingushing css
Adjust the implementation of css_is_cgroup() so that it compares the given css to cgroup::self. Rename the function to css_is_self() in order to reflect that. Change the existing css->ss NULL check to a warning in the true branch. Finally, adjust call sites to use the new function name. Signed-off-by:JP Kobryn <inwardvessel@gmail.com> Signed-off-by:
Tejun Heo <tj@kernel.org>
Loading
Please register or sign in to comment