summaryrefslogtreecommitdiffstats
path: root/kernel/mm/mempolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mm/mempolicy.c')
-rw-r--r--kernel/mm/mempolicy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/mm/mempolicy.c b/kernel/mm/mempolicy.c
index 87a177917..a4217fe60 100644
--- a/kernel/mm/mempolicy.c
+++ b/kernel/mm/mempolicy.c
@@ -2006,8 +2006,8 @@ retry_cpuset:
nmask = policy_nodemask(gfp, pol);
zl = policy_zonelist(gfp, pol, node);
- mpol_cond_put(pol);
page = __alloc_pages_nodemask(gfp, order, zl, nmask);
+ mpol_cond_put(pol);
out:
if (unlikely(!page && read_mems_allowed_retry(cpuset_mems_cookie)))
goto retry_cpuset;