diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-01-20 03:00:09 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 09:56:18 +0300 |
| commit | 20c993134e105368b9165cb9af8d8c1c2ac59a2d (patch) | |
| tree | abf423cc46d12f0b29bf940393e79e14b490557f /include/linux/debugobjects.h | |
| parent | 37cc07cab7dc311f2b7aeaaa7598face53eddcab (diff) | |
| download | linux-20c993134e105368b9165cb9af8d8c1c2ac59a2d.tar.xz | |
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/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
