aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/zstd.c
diff options
context:
space:
mode:
authorLi Zetao <[email protected]>2024-08-28 18:29:04 +0000
committerDavid Sterba <[email protected]>2024-09-10 14:51:21 +0000
commit54c78d497b383f5828b019d41149a9e76cfc771c (patch)
tree68a66ea7bb2f355b6cde2ac43525258387898c88 /fs/btrfs/zstd.c
parentbtrfs: convert try_release_extent_mapping() to take a folio (diff)
downloadkernel-54c78d497b383f5828b019d41149a9e76cfc771c.tar.gz
kernel-54c78d497b383f5828b019d41149a9e76cfc771c.zip
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/zstd.c')
0 files changed, 0 insertions, 0 deletions