aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/mempolicy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 7dd9d9f80694..d49956d30259 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -1058,7 +1058,8 @@ static long do_mbind(unsigned long start, unsigned long len,
1058 1058
1059 if (!err && nr_failed && (flags & MPOL_MF_STRICT)) 1059 if (!err && nr_failed && (flags & MPOL_MF_STRICT))
1060 err = -EIO; 1060 err = -EIO;
1061 } 1061 } else
1062 putback_lru_pages(&pagelist);
1062 1063
1063 up_write(&mm->mmap_sem); 1064 up_write(&mm->mmap_sem);
1064 mpol_put(new); 1065 mpol_put(new);