diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index dec5772c8c5c8fd35b3f1d665252e7845468f3b0..f6347ec4fd0a37898361cd410c1488444b912947 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -2564,8 +2564,7 @@ static int hugetlb_cow(struct mm_struct *mm, struct vm_area_struct *vma,
 	 * at the time of fork() could consume its reserves on COW instead
 	 * of the full address range.
 	 */
-	if (!(vma->vm_flags & VM_MAYSHARE) &&
-			is_vma_resv_set(vma, HPAGE_RESV_OWNER) &&
+	if (is_vma_resv_set(vma, HPAGE_RESV_OWNER) &&
 			old_page != pagecache_page)
 		outside_reserve = 1;