]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: convert read_key_bytes() to take a folio
authorLi Zetao <lizetao1@huawei.com>
Wed, 28 Aug 2024 18:28:59 +0000 (02:28 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 Sep 2024 14:51:20 +0000 (16:51 +0200)
commit884937793db595928961397dd3ec2287b40371c6
treeed142d335a4602d72c870b744b6fb83d5e6724e0
parentb8ae2bfa685f1ba48d42660b163b7bec725fe697
btrfs: convert read_key_bytes() to take a 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, use kmap_local_folio() instead of kmap_local_page(),
which is more consistent with folio usage.

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/verity.c