]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: add support for LZO decompression
authorJoao Marcos Costa <joaomarcos.costa@bootlin.com>
Tue, 18 Aug 2020 15:17:24 +0000 (17:17 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 Aug 2020 18:11:31 +0000 (14:11 -0400)
commit6dfed163bd842bf98fd17875067bf8643819a879
tree2c6fecd2defa674d222f62a838f00eab2a0d6552
parent9c948f536fec115b590760c2e9e333945dfde990
fs/squashfs: add support for LZO decompression

Add call to lzo's lzo1x_decompress_safe() into sqfs_decompress().

U-Boot's LZO sources may still have some unsolved issues that could make the
decompression crash when dealing with fragmented files, so those should be
avoided. The "-no-fragments" option can be passed to mksquashfs.

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
fs/squashfs/sqfs_decompressor.c