diff options
author | David S. Miller <davem@davemloft.net> | 2017-10-05 20:57:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-05 21:19:22 -0400 |
commit | 53954cf8c5d205624167a2bfd117cc0c1a5f3c6d (patch) | |
tree | a287f0c80eb616758bb5212523c8fb3d8fc350a4 /kernel/cgroup | |
parent | 4b54db1375757aa3e870c075065a8ab9350d26c4 (diff) | |
parent | 7a92616c0bac849e790283723b36c399668a1d9f (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Just simple overlapping changes.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r-- | kernel/cgroup/cgroup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 269512b94a94..00f5b358aeac 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c | |||
@@ -2314,6 +2314,14 @@ out_release_tset: | |||
2314 | list_del_init(&cset->mg_node); | 2314 | list_del_init(&cset->mg_node); |
2315 | } | 2315 | } |
2316 | spin_unlock_irq(&css_set_lock); | 2316 | spin_unlock_irq(&css_set_lock); |
2317 | |||
2318 | /* | ||
2319 | * Re-initialize the cgroup_taskset structure in case it is reused | ||
2320 | * again in another cgroup_migrate_add_task()/cgroup_migrate_execute() | ||
2321 | * iteration. | ||
2322 | */ | ||
2323 | tset->nr_tasks = 0; | ||
2324 | tset->csets = &tset->src_csets; | ||
2317 | return ret; | 2325 | return ret; |
2318 | } | 2326 | } |
2319 | 2327 | ||