Commit 0139aa7b7fa ("mm: rename _count, field of the struct page, to _refcount") left out a couple of references to the old field name. Fix that.
Unified · Split
| @@ -67,7 +67,7 @@ void __dump_page(struct page *page, const char *reason) · 66 unmodified lines | |||
| 67 | */ | 67 | */ |
| 68 | mapcount = PageSlab(page) ? 0 : page_mapcount(page); | 68 | mapcount = PageSlab(page) ? 0 : page_mapcount(page); |
| 69 | 69 | ||
| 70 | pr_warn("page:%px count:%d mapcount:%d mapping:%px index:%#lx", | 70 | pr_warn("page:%px refcount:%d mapcount:%d mapping:%px index:%#lx", |
| 71 | page, page_ref_count(page), mapcount, | 71 | page, page_ref_count(page), mapcount, |
| 72 | page->mapping, page_to_pgoff(page)); | 72 | page->mapping, page_to_pgoff(page)); |
| 73 | if (PageCompound(page)) | 73 | if (PageCompound(page)) |
| @@ -1986,7 +1986,7 @@ static void check_new_page_bad(struct page *page) · 1985 unmodified lines | |||
| 1986 | if (unlikely(page->mapping != NULL)) | 1986 | if (unlikely(page->mapping != NULL)) |
| 1987 | bad_reason = "non-NULL mapping"; | 1987 | bad_reason = "non-NULL mapping"; |
| 1988 | if (unlikely(page_ref_count(page) != 0)) | 1988 | if (unlikely(page_ref_count(page) != 0)) |
| 1989 | bad_reason = "nonzero _count"; | 1989 | bad_reason = "nonzero _refcount"; |
| 1990 | if (unlikely(page->flags & __PG_HWPOISON)) { | 1990 | if (unlikely(page->flags & __PG_HWPOISON)) { |
| 1991 | bad_reason = "HWPoisoned (hardware-corrupted)"; | 1991 | bad_reason = "HWPoisoned (hardware-corrupted)"; |
| 1992 | bad_flags = __PG_HWPOISON; | 1992 | bad_flags = __PG_HWPOISON; |