]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: convert shmem_delete_from_page_cache() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:03 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:45 +0000 (14:02 -0700)
commit8f83c66022a80f30750f783e47fca7ee698cc9ea
treec14239604229a1f4a250e1a75d6ba71f834e3b2d
parent9b5a7f0d9058f3c3b9d28a53169c416c8433da39
shmem: convert shmem_delete_from_page_cache() to take a folio

Remove the assertion that the page is not Compound as this function now
handles large folios correctly.

Link: https://lkml.kernel.org/r/20220902194653.1739778-8-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/shmem.c