mm/swap: convert delete_from_swap_cache() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:19 +0000 (18:50 +0100)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:48 +0000 (18:08 -0700)
commit75fa68a5d89871a35246aa2759c95d6dfaf1b582
tree0bc7de8ee57ddd75bedc2e1890d2e6498f1c3885
parentb98c359f1d921deae04bb5dbbbbbb9d8705b7c4c
mm/swap: convert delete_from_swap_cache() to take a folio

All but one caller already has a folio, so convert it to use a folio.

Link: https://lkml.kernel.org/r/20220617175020.717127-22-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c
mm/shmem.c
mm/swap.h
mm/swap_state.c
mm/swapfile.c