diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-01 15:13:59 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-29 08:51:05 -0400 |
commit | 2bb876b58d593d7f2522ec0f41f20a74fde76822 (patch) | |
tree | 717661a21fd0aa89857ba9aa674f401ab6a0d6e1 /mm/swap_state.c | |
parent | d9ef44de5d731e1a1fa94ddb5e39ea1b308b1456 (diff) | |
download | lwn-2bb876b58d593d7f2522ec0f41f20a74fde76822.tar.gz lwn-2bb876b58d593d7f2522ec0f41f20a74fde76822.zip |
filemap: Remove add_to_page_cache() and add_to_page_cache_locked()
These functions have no more users, so delete them.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Diffstat (limited to 'mm/swap_state.c')
-rw-r--r-- | mm/swap_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c index 778d57d2d92d..f5b6f5638908 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -95,7 +95,7 @@ void *get_shadow_from_swap_cache(swp_entry_t entry) } /* - * add_to_swap_cache resembles add_to_page_cache_locked on swapper_space, + * add_to_swap_cache resembles filemap_add_folio on swapper_space, * but sets SwapCache flag and private instead of mapping and index. */ int add_to_swap_cache(struct page *page, swp_entry_t entry, |