diff options
author | Tejun Heo <tj@kernel.org> | 2016-03-08 11:51:25 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-03-08 11:51:25 -0500 |
commit | 6c694c88255b2052d9922d62df6df7c9e152eeeb (patch) | |
tree | 9eacd31f55f9f513240739d04a3ee0bfd02cf5ff /fs/dlm/Makefile | |
parent | 58cdb1ceb15aab7b34719ad225ff023775d774e7 (diff) | |
download | blackbird-op-linux-6c694c88255b2052d9922d62df6df7c9e152eeeb.tar.gz blackbird-op-linux-6c694c88255b2052d9922d62df6df7c9e152eeeb.zip |
cgroup: move migration destination verification out of cgroup_migrate_prepare_dst()
cgroup_migrate_prepare_dst() verifies whether the destination cgroup
is allowable; however, the test doesn't really belong there. It's too
deep and common in the stack and as a result the test itself is gated
by another test.
Separate the test out into cgroup_may_migrate_to() and update
cgroup_attach_task() and cgroup_transfer_tasks() to perform the test
directly. This doesn't cause any behavior differences.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/dlm/Makefile')
0 files changed, 0 insertions, 0 deletions