Re: [PATCH] Fix squashfs failing to load sparse files

2021-01-20 Thread Tom Rini
On Mon, Nov 23, 2020 at 03:40:03PM +1300, Campbell Suter wrote: > SquashFS supports sprase blocks in files - that is, if a given block is > composed only of zeros, it's not written to the output file to save > space and it's on-disk length field is set to zero to indicate that. > > Previously the

[PATCH] Fix squashfs failing to load sparse files

2020-11-23 Thread Campbell Suter
SquashFS supports sprase blocks in files - that is, if a given block is composed only of zeros, it's not written to the output file to save space and it's on-disk length field is set to zero to indicate that. Previously the squashfs driver did not recognise that, and would attempt to read and deco