X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Fmemory-failure.c;h=90002ea43638cd0dd669d12092837714ec3113f3;hb=0b1b901b5a98bb36943d10820efc796f7cd45ff3;hp=2f2f34a4e77de18e47bc815e3fd90ace33967e55;hpb=e4cc60cbdc4fd1d1050824937079bed2a4108864;p=~andy%2Flinux diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 2f2f34a4e77..90002ea4363 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);