diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-01-20 10:30:09 +1030 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 07:56:18 +0100 |
| commit | 20c993134e105368b9165cb9af8d8c1c2ac59a2d (patch) | |
| tree | abf423cc46d12f0b29bf940393e79e14b490557f /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 37cc07cab7dc311f2b7aeaaa7598face53eddcab (diff) | |
btrfs: zlib: use folio_iter to handle zlib_decompress_bio()
Currently zlib_decompress_bio() is using
compressed_bio->compressed_folios[] array to grab each compressed folio.
However cb->compressed_folios[] is just a pointer to each folio of the
compressed bio, meaning we can just replace the compressed_folios[]
array by just grabbing the folio inside the compressed bio.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
