diff options
-rw-r--r-- | mm/memcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index db76ef72629..4fcf47a6255 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -2292,9 +2292,10 @@ static int mem_cgroup_move_parent(struct page_cgroup *pc, | |||
2292 | ret = mem_cgroup_move_account(pc, child, parent, true, charge); | 2292 | ret = mem_cgroup_move_account(pc, child, parent, true, charge); |
2293 | if (ret) | 2293 | if (ret) |
2294 | mem_cgroup_cancel_charge(parent, charge); | 2294 | mem_cgroup_cancel_charge(parent, charge); |
2295 | put_back: | 2295 | |
2296 | if (charge > PAGE_SIZE) | 2296 | if (charge > PAGE_SIZE) |
2297 | compound_unlock_irqrestore(page, flags); | 2297 | compound_unlock_irqrestore(page, flags); |
2298 | put_back: | ||
2298 | putback_lru_page(page); | 2299 | putback_lru_page(page); |
2299 | put: | 2300 | put: |
2300 | put_page(page); | 2301 | put_page(page); |