aboutsummaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r--mm/huge_memory.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index bb8b617e34ed..885642c82aaa 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -2496,9 +2496,6 @@ static void __split_huge_page(struct page *page, struct list_head *list,
2496 if (IS_ENABLED(CONFIG_SHMEM) && PageSwapBacked(head)) 2496 if (IS_ENABLED(CONFIG_SHMEM) && PageSwapBacked(head))
2497 shmem_uncharge(head->mapping->host, 1); 2497 shmem_uncharge(head->mapping->host, 1);
2498 put_page(head + i); 2498 put_page(head + i);
2499 } else if (!PageAnon(page)) {
2500 __xa_store(&head->mapping->i_pages, head[i].index,
2501 head + i, 0);
2502 } 2499 }
2503 } 2500 }
2504 2501