Skip to content
Commit 58cdb1ce authored by Tejun Heo's avatar Tejun Heo
Browse files

cgroup: fix incorrect destination cgroup in cgroup_update_dfl_csses()



cgroup_update_dfl_csses() should move each task in the subtree to
self; however, it was incorrectly calling cgroup_migrate_add_src()
with the root of the subtree as @dst_cgrp.  Fortunately,
cgroup_migrate_add_src() currently uses @dst_cgrp only to determine
the hierarchy and the bug doesn't cause any actual breakages.  Fix it.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 6cc578df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment