]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: reorder cgroup_migrate()'s parameters
authorTejun Heo <tj@kernel.org>
Fri, 11 Sep 2015 19:00:20 +0000 (15:00 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 22 Sep 2015 16:46:53 +0000 (12:46 -0400)
commit76f222884fc66d91d477f4ace62b6d1b8bea37fb
tree41dfc78fa210fde6670aa2ad956aa553b402846f
parent847d2bc2ed39059696bfdf7c474099aa929d4650
cgroup: reorder cgroup_migrate()'s parameters

cgroup_migrate() has the destination cgroup as the first parameter
while cgroup_task_migrate() has the destination cset as the last.
Another migration function is scheduled to be added which can make the
discrepancy further stand out.  Let's reorder cgroup_migrate()'s
parameters so that the destination cgroup is the last.

This doesn't cause any functional difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
kernel/cgroup.c