[PATCH] fs/squashfs: Fix index off by 1 for inode SQFS_LDIR_TYPE

Tom Rini trini at konsulko.com
Fri Nov 20 02:36:09 CET 2020


On Fri, Oct 30, 2020 at 01:41:58PM +0000, Gerard Koskamp wrote:

> I've created a squashfs file system with Yocto (it use squashfs-tools)
> and u-boot command sqfsls give the error:'Error while searching inode:
> unknown type.'
> After some digging in the code I found that the index is off by 1.
> This patch fix this issue and I can successful use the sqfsls command.
> After search for the squashfs format I found a link talk about a
> similar issue but this time in the documentation. The link is:
> https://github.com/AgentD/squashfs-tools-ng/commit/e6588526838caece9529
> 
> Signed-off-by: Gerard Koskamp <gerard.koskamp at nedap.com>
> Tested-by: Joao Marcos Costa <joaomarcos.costa at bootlin.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201119/0f5d0df4/attachment.sig>


More information about the U-Boot mailing list