diff options
author | Michal Koutný <mkoutny@suse.com> | 2021-01-14 15:44:27 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2021-01-15 23:36:18 +0300 |
commit | da70862efe0065bada33d67a903270cdbbaf07d9 (patch) | |
tree | b612562920f7e138ea41150232d4812cadc35b7f /net/unix/af_unix.c | |
parent | b5e56576e16236de3c035ca86cd3ef16591722fb (diff) | |
download | linux-da70862efe0065bada33d67a903270cdbbaf07d9.tar.xz |
cgroup: cgroup.{procs,threads} factor out common parts
The functions cgroup_threads_write and cgroup_procs_write are almost
identical. In order to reduce duplication, factor out the common code in
similar fashion we already do for other threadgroup/task functions. No
functional changes are intended.
Suggested-by: Hao Lee <haolee.swjtu@gmail.com>
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions