cgroup: remove extra cgroup_migrate_finish() call
authorShakeel Butt <shakeelb@google.com>
Wed, 3 Apr 2019 23:03:54 +0000 (16:03 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 4 Apr 2019 20:39:42 +0000 (13:39 -0700)
commitd6e486ee0ef2f99a4069d9186e53dac61b28cb3c
tree7b5697d3acd6c362b74c756caedad007db576194
parent145f47c7381d43c789cbad55d4dbfd28fc6c46a4
cgroup: remove extra cgroup_migrate_finish() call

The callers of cgroup_migrate_prepare_dst() correctly call
cgroup_migrate_finish() for success and failure cases both. No need to
call it in cgroup_migrate_prepare_dst() in failure case.

Signed-off-by: Shakeel Butt <shakeelb@google.com>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c