X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=mm%2Fmemory-failure.c;h=90002ea43638cd0dd669d12092837714ec3113f3;hb=c186afb4dbd0050a537b96c7fbee2dba3b57fc38;hp=2f2f34a4e77de18e47bc815e3fd90ace33967e55;hpb=3c0b566334c9942c89927bd1b5ad2f32baab81fa;p=mirror_ubuntu-bionic-kernel.git diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 2f2f34a4e77d..90002ea43638 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -1651,7 +1651,7 @@ int soft_offline_page(struct page *page, int flags) { int ret; unsigned long pfn = page_to_pfn(page); - struct page *hpage = compound_trans_head(page); + struct page *hpage = compound_head(page); if (PageHWPoison(page)) { pr_info("soft offline: %#lx page already poisoned\n", pfn);