cgroup: refactor allow_attach handler for 4.4
authorAmit Pundir <amit.pundir@linaro.org>
Mon, 21 Dec 2015 10:31:10 +0000 (16:01 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:46 +0000 (13:53 -0800)
commit703920c14a3caa66862bd12b88a7ed6460ebef6b
tree5a34a327d91a0ba0f6158c34d63c575ef4566b5b
parent69db8fca423ad74f6a16f7d499b5a1006335e4df
cgroup: refactor allow_attach handler for 4.4

Refactor *allow_attach() handler to align it with the changes
from mainline commit 1f7dd3e5a6e4 "cgroup: fix handling of
multi-destination migration from subtree_control enabling".

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
include/linux/cgroup-defs.h
include/linux/cgroup.h
kernel/cgroup.c
mm/memcontrol.c