summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/cgroup-internal.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2017-01-15 19:03:40 -0500
committerTejun Heo <tj@kernel.org>2017-01-15 19:03:40 -0500
commitd8ebf5191d7fdf81ba34a7c3d726b99c34918030 (patch)
tree8ba39812b78dc8bc828122fc36492e8c8c99b319 /kernel/cgroup/cgroup-internal.h
parent20c56e595cd781b5305562c9bf8289d8d5e47c63 (diff)
downloadop-kernel-dev-d8ebf5191d7fdf81ba34a7c3d726b99c34918030.zip
op-kernel-dev-d8ebf5191d7fdf81ba34a7c3d726b99c34918030.tar.gz
cgroup: cosmetic update to cgroup_taskset_add()
cgroup_taskset_add() was using list_add_tail() when for source csets but list_move_tail() for destination. As the operations are gated by list_empty() test, list_move_tail() is equivalent to list_add_tail() here. Use list_add_tail() too for destination csets too. This doesn't cause any functional changes. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'kernel/cgroup/cgroup-internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud