aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2021-07-28 15:14:48 -0400
committerGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-01-04 13:15:34 -0500
commit82c50f8b443359ec99348cd9b1289f55cd47779d (patch)
treea583dd7356daabd92a4b4003407dd0ecc1a9a32f /include/linux/mm.h
parentfilemap: Use a folio in filemap_page_mkwrite (diff)
downloadlinux-82c50f8b443359ec99348cd9b1289f55cd47779d.tar.gz
linux-82c50f8b443359ec99348cd9b1289f55cd47779d.tar.bz2
linux-82c50f8b443359ec99348cd9b1289f55cd47779d.zip
filemap: Add filemap_release_folio()
Reimplement try_to_release_page() as a wrapper around filemap_release_folio(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 72ca04f16711..145f045b0ddc 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1970,7 +1970,6 @@ int get_kernel_pages(const struct kvec *iov, int nr_pages, int write,
struct page **pages);
struct page *get_dump_page(unsigned long addr);
-extern int try_to_release_page(struct page * page, gfp_t gfp_mask);
extern void do_invalidatepage(struct page *page, unsigned int offset,
unsigned int length);