X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=mm%2Fhugetlb.c;h=ae8f708e3d75acd9c64f495ea74b8f1cb5ecc2c3;hb=49d04a3ff7835f8d031550fdc6a947ba9c5b6556;hp=5a16423a512c4a7f0192d0f10af806473c25b0b9;hpb=e7a7c9ab415874f4ad78a0352ca0ec6711092017;p=cascardo%2Flinux.git diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 5a16423a512c..ae8f708e3d75 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -2498,7 +2498,6 @@ retry_avoidcopy: if (outside_reserve) { BUG_ON(huge_pte_none(pte)); if (unmap_ref_private(mm, vma, old_page, address)) { - BUG_ON(page_count(old_page) != 1); BUG_ON(huge_pte_none(pte)); spin_lock(&mm->page_table_lock); ptep = huge_pte_offset(mm, address & huge_page_mask(h));