commit | b1fa6b8d681f945e4461b4f16c6acc51c98ca6f0 | [log] [tgz] |
---|---|---|
author | Joao Marcos Costa <joaomarcos.costa@bootlin.com> | Tue Aug 18 17:17:23 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 24 14:11:31 2020 -0400 |
tree | b5c8ee5d54a5ed05b3630216292018358e1eee95 | |
parent | b87fd015e17accefcd892bdc24321da058e219ae [diff] |
fs/squashfs: add support for ZSTD decompression Add call to ZSTD's ZSTD_decompressDCtx(). In this use case, the caller can upper bound the decompressed size, which will be the SquashFS data block (or metadata block) size, so there is no need to use streaming API. Add ZSTD's worskpace to squashfs_ctxt structure. Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>