diff options
author | Li Zetao <lizetao1@huawei.com> | 2024-08-28 21:29:06 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-09-10 17:51:21 +0300 |
commit | b70f3a45464b012feb8e86f15f37e0c4b2f69fe1 (patch) | |
tree | 589b1fee024e7c3f22a3adcc7500223979469831 /rust/helpers/task.c | |
parent | 9f9a4e43a87082144e43320edaf38d980d18d069 (diff) | |
download | linux-b70f3a45464b012feb8e86f15f37e0c4b2f69fe1.tar.xz |
btrfs: convert zstd_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