summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2025-08-06 20:24:30 +0300
committerTejun Heo <tj@kernel.org>2025-08-09 21:42:47 +0300
commit87eba5bc5ab1d99e31c9d3b2c386187da94a5ab1 (patch)
tree82860391569b4c5eb161c512a2603b6a21bf8882 /tools/lib/python
parent150e298ae0ccbecff2357a72fbabd80f8849ea6e (diff)
downloadlinux-87eba5bc5ab1d99e31c9d3b2c386187da94a5ab1.tar.xz
cgroup/cpuset: Remove the unnecessary css_get/put() in cpuset_partition_write()
The css_get/put() calls in cpuset_partition_write() are unnecessary as an active reference of the kernfs node will be taken which will prevent its removal and guarantee the existence of the css. Only the online check is needed. Signed-off-by: Waiman Long <longman@redhat.com> Reviewed-by: Michal Koutný <mkoutny@suse.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions