mempolicy: rework mempolicy Reference Counting [yet again]
[linux-2.6.git] / mm / hugetlb.c
index 53afa8c..d36e1f1 100644 (file)
@@ -116,7 +116,7 @@ static struct page *dequeue_huge_page_vma(struct vm_area_struct *vma,
                        break;
                }
        }
-       mpol_put(mpol); /* unref if mpol !NULL */
+       mpol_cond_put(mpol);
        return page;
 }