]> www.infradead.org Git - users/willy/pagecache.git/commit
freevxfs: Convert vxfs_immed_read_folio() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 29 Apr 2022 15:12:16 +0000 (11:12 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:08 +0000 (08:51 -0400)
commit6e2a48222bc97d4028b1ff8b8bfdfadec7a72923
tree4a96fcced77c228b854340906bd12ab8426c0aee
parent1a6b7e5cb5504bf4f0f4e63b8bedaff8aad5798b
freevxfs: Convert vxfs_immed_read_folio() to use a folio

Reorganise the file to remove the forward declaration.
Use folios throughout vxfs_immed_read_folio().
Use memcpy_to_page() instead of an open-coded kmap()/kunmap().
Remove flush_dcache_page() as this is embedded in memcpy_to_page().
Use folio_pos() instead of opencoding it.
Handle multi-page folios.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/freevxfs/vxfs_immed.c