diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-09 20:21:53 +0000 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-15 08:23:30 -0400 |
commit | 76dba927201dc07de5e679eb17bcad6d42430452 (patch) | |
tree | 3ccda33eef1775bbc39a6aab069ecfe16e4addab /fs/9p/vfs_addr.c | |
parent | affa80e8c6a1df473694c2087259901872309cc4 (diff) |
9p: Convert from launder_page to launder_folio
Trivial conversion.
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 'fs/9p/vfs_addr.c')
-rw-r--r-- | fs/9p/vfs_addr.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c index 339882493c02..a4a9075890d5 100644 --- a/fs/9p/vfs_addr.c +++ b/fs/9p/vfs_addr.c @@ -240,16 +240,8 @@ static int v9fs_vfs_writepage(struct page *page, struct writeback_control *wbc) return retval; } -/** - * v9fs_launder_page - Writeback a dirty page - * @page: The page to be cleaned up - * - * Returns 0 on success. - */ - -static int v9fs_launder_page(struct page *page) +static int v9fs_launder_folio(struct folio *folio) { - struct folio *folio = page_folio(page); int retval; if (folio_clear_dirty_for_io(folio)) { @@ -386,6 +378,6 @@ const struct address_space_operations v9fs_addr_operations = { .write_end = v9fs_write_end, .releasepage = v9fs_release_page, .invalidate_folio = v9fs_invalidate_folio, - .launder_page = v9fs_launder_page, + .launder_folio = v9fs_launder_folio, .direct_IO = v9fs_direct_IO, }; |