diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 7c204e3d132b808364fc1e87e3dace180f9ba173..a963f2034dfced0debfddd1cd369a6294d60d63e 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -1583,7 +1583,7 @@ static struct page *alloc_surplus_huge_page(struct hstate *h, gfp_t gfp_mask,
 		page = NULL;
 	} else {
 		h->surplus_huge_pages++;
-		h->nr_huge_pages_node[page_to_nid(page)]++;
+		h->surplus_huge_pages_node[page_to_nid(page)]++;
 	}
 
 out_unlock: