diff options
author | Roman Gushchin <guro@fb.com> | 2018-01-10 07:35:12 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-01-10 12:42:32 -0500 |
commit | 4f58424da3deead2605e39a9df65f5f06107a3cb (patch) | |
tree | 2745d33d3dc0735dfae23d45f6744d5b48394bb9 /kernel/cgroup | |
parent | 74d0833c659a8a54735e5efdd44f4b225af68586 (diff) |
cgroup: make cgroup.threads delegatable
Make cgroup.threads file delegatable.
The behavior of cgroup.threads should follow the behavior of cgroup.procs.
Signed-off-by: Roman Gushchin <guro@fb.com>
Discovered-by: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r-- | kernel/cgroup/cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 2cf06c274e4c..7e4c44538119 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c | |||
@@ -4447,6 +4447,7 @@ static struct cftype cgroup_base_files[] = { | |||
4447 | }, | 4447 | }, |
4448 | { | 4448 | { |
4449 | .name = "cgroup.threads", | 4449 | .name = "cgroup.threads", |
4450 | .flags = CFTYPE_NS_DELEGATABLE, | ||
4450 | .release = cgroup_procs_release, | 4451 | .release = cgroup_procs_release, |
4451 | .seq_start = cgroup_threads_start, | 4452 | .seq_start = cgroup_threads_start, |
4452 | .seq_next = cgroup_procs_next, | 4453 | .seq_next = cgroup_procs_next, |