summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2024-08-28 21:29:05 +0300
committerDavid Sterba <dsterba@suse.com>2024-09-10 17:51:21 +0300
commit9f9a4e43a87082144e43320edaf38d980d18d069 (patch)
tree61f5bf556edaa31b8ab57176c8cc9a3aa5016701 /rust/helpers/task.c
parent54c78d497b383f5828b019d41149a9e76cfc771c (diff)
downloadlinux-9f9a4e43a87082144e43320edaf38d980d18d069.tar.xz
btrfs: convert lzo_decompress() 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. And memcpy_to_page() can be replaced with memcpy_to_folio(). But there is no memzero_folio(), but it can be replaced equivalently by folio_zero_range(). Signed-off-by: Li Zetao <lizetao1@huawei.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions