diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memcontrol.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index e41a6c26f1e7..fc62c714f3b6 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -3348,10 +3348,9 @@ unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order, | |||
3348 | */ | 3348 | */ |
3349 | next_mz = | 3349 | next_mz = |
3350 | __mem_cgroup_largest_soft_limit_node(mctz); | 3350 | __mem_cgroup_largest_soft_limit_node(mctz); |
3351 | if (next_mz == mz) { | 3351 | if (next_mz == mz) |
3352 | css_put(&next_mz->mem->css); | 3352 | css_put(&next_mz->mem->css); |
3353 | next_mz = NULL; | 3353 | else /* next_mz == NULL or other memcg */ |
3354 | } else /* next_mz == NULL or other memcg */ | ||
3355 | break; | 3354 | break; |
3356 | } while (1); | 3355 | } while (1); |
3357 | } | 3356 | } |