diff options
author | 2022-02-09 20:21:28 +0000 | |
---|---|---|
committer | 2022-03-15 08:23:25 -0400 | |
commit | 5ad6b2bdaaea712486145fa5a78ec24d25289071 (patch) | |
tree | 5955982c75ab125ace0c4d14190579918eca89b5 /include/linux/mm.h | |
parent | fs: Convert is_partially_uptodate to folios (diff) | |
download | linux-dev-5ad6b2bdaaea712486145fa5a78ec24d25289071.tar.xz linux-dev-5ad6b2bdaaea712486145fa5a78ec24d25289071.zip |
fs: Turn do_invalidatepage() into folio_invalidate()
Take a folio instead of a page, fix the types of the offset & length,
and export it to filesystems.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs
Tested-by: David Howells <dhowells@redhat.com> # afs
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 213cc569b192..7808a7959066 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1939,9 +1939,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 void do_invalidatepage(struct page *page, unsigned int offset, - unsigned int length); - bool folio_mark_dirty(struct folio *folio); bool set_page_dirty(struct page *page); int set_page_dirty_lock(struct page *page); |