]> Git Repo - linux.git/commit
btrfs: convert copy_inline_to_page() to use folio
authorLi Zetao <[email protected]>
Wed, 28 Aug 2024 18:29:08 +0000 (02:29 +0800)
committerDavid Sterba <[email protected]>
Tue, 10 Sep 2024 14:51:21 +0000 (16:51 +0200)
commitfaad57ae20190de6375e1c3a7144c7ae66ab4ddf
treea3c64660ba0cecd79dacac159934fe7a80ecbabf
parentaeb6d8814841ec106acc5ffea772d4102ffc72b6
btrfs: convert copy_inline_to_page() to use folio

The old page API is being gradually replaced and converted to use folio
to improve code readability and avoid repeated conversion between page
and folio. Moreover find_or_create_page() is compatible API, and it can
replaced with __filemap_get_folio(). Some interfaces have been converted
to use folio before, so the conversion operation from page can be
eliminated here.

Signed-off-by: Li Zetao <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/reflink.c
This page took 0.050055 seconds and 4 git commands to generate.