summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2024-08-28 21:29:04 +0300
committerDavid Sterba <dsterba@suse.com>2024-09-10 17:51:21 +0300
commit54c78d497b383f5828b019d41149a9e76cfc771c (patch)
tree68a66ea7bb2f355b6cde2ac43525258387898c88 /rust/helpers/task.c
parent046c0d65962504d8ec1e109cb673c81ba36da1e3 (diff)
downloadlinux-54c78d497b383f5828b019d41149a9e76cfc771c.tar.xz
btrfs: convert zlib_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