diff options
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 8d2e5c8a25b1..3ba72e6556cc 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -1361,7 +1361,7 @@ int mem_cgroup_prepare_migration(struct page *page, struct mem_cgroup **ptr) | |||
1361 | unlock_page_cgroup(pc); | 1361 | unlock_page_cgroup(pc); |
1362 | 1362 | ||
1363 | if (mem) { | 1363 | if (mem) { |
1364 | ret = mem_cgroup_try_charge(NULL, GFP_KERNEL, &mem); | 1364 | ret = __mem_cgroup_try_charge(NULL, GFP_KERNEL, &mem, false); |
1365 | css_put(&mem->css); | 1365 | css_put(&mem->css); |
1366 | } | 1366 | } |
1367 | *ptr = mem; | 1367 | *ptr = mem; |