diff options
author | Vishal Moola (Oracle) <vishal.moola@gmail.com> | 2022-11-17 23:30:55 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-30 15:59:02 -0800 |
commit | 7438899b0b8df16a73d9a5d49b2a345d165adfe8 (patch) | |
tree | 6004dc7036e966a4db8fc97b5a62b53f28ae3393 /include | |
parent | ac5efa782041670b63a05c36d92d02a80e50bb63 (diff) | |
download | linux-7438899b0b8df16a73d9a5d49b2a345d165adfe8.tar.gz linux-7438899b0b8df16a73d9a5d49b2a345d165adfe8.tar.bz2 linux-7438899b0b8df16a73d9a5d49b2a345d165adfe8.zip |
folio-compat: remove try_to_release_page()
There are no more callers of try_to_release_page(), so remove it. This
saves 85 bytes of kernel text.
Link: https://lkml.kernel.org/r/20221118073055.55694-5-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pagemap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index b33ab86d5dca..2ec0ca1f3d38 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -1105,7 +1105,6 @@ void __filemap_remove_folio(struct folio *folio, void *shadow); void replace_page_cache_page(struct page *old, struct page *new); void delete_from_page_cache_batch(struct address_space *mapping, struct folio_batch *fbatch); -int try_to_release_page(struct page *page, gfp_t gfp); bool filemap_release_folio(struct folio *folio, gfp_t gfp); loff_t mapping_seek_hole_data(struct address_space *, loff_t start, loff_t end, int whence); |