cgroup: restructure cgroup_procs_write_permission()
authorTejun Heo <tj@kernel.org>
Sun, 25 Jun 2017 04:27:59 +0000 (00:27 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 28 Jun 2017 18:45:02 +0000 (14:45 -0400)
commit824ecbe01c5d833b8c8a371c209e3ac3a76cd18a
treec7b2602d0782fee6131c43433c3af277bd476aaf
parent39fd64ae9f471f2d0aee46c5bc8646e9f2494e64
cgroup: restructure cgroup_procs_write_permission()

Restructure cgroup_procs_write_permission() to make extending
permission logic easier.

This patch doesn't cause any functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c