diff options
author | Tejun Heo <tj@kernel.org> | 2013-08-09 02:11:26 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-08-09 02:11:26 +0200 |
commit | c59cd3d840b1b0a8f996cbbd9132128dcaabbeb9 (patch) | |
tree | f2ad31b11b14c00cfaa5327a5a587fae56604866 /mm/zswap.c | |
parent | cgroup: rename cgroup_iter to cgroup_task_iter (diff) | |
download | linux-c59cd3d840b1b0a8f996cbbd9132128dcaabbeb9.tar.xz linux-c59cd3d840b1b0a8f996cbbd9132128dcaabbeb9.zip |
cgroup: make cgroup_task_iter remember the cgroup being iterated
Currently all cgroup_task_iter functions require @cgrp to be passed
in, which is superflous and increases chance of usage error. Make
cgroup_task_iter remember the cgroup being iterated and drop @cgrp
argument from next and end functions.
This patch doesn't introduce any behavior differences.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Matt Helsley <matthltc@us.ibm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Balbir Singh <bsingharora@gmail.com>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions