diff options
| author | Li Zetao <lizetao1@huawei.com> | 2024-08-29 02:29:04 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-09-10 16:51:21 +0200 |
| commit | 54c78d497b383f5828b019d41149a9e76cfc771c (patch) | |
| tree | 68a66ea7bb2f355b6cde2ac43525258387898c88 /net/unix/sysctl_net_unix.c | |
| parent | 046c0d65962504d8ec1e109cb673c81ba36da1e3 (diff) | |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
