]> git.baikalelectronics.ru Git - kernel.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>
Tue, 2 Aug 2022 16:34:03 +0000 (12:34 -0400)
commit690926beb10e964ebde3504e3fc6eb560934cb9b
tree22a7ff4a42b65fa4e27f9f3ff7208f4ed11cd201
parente1adf6dd22527a9d0c0ed996d77bb3cf963d152b
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