mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
Thomas has reported that after commitb2eb2e2886("isofs: Drop support of directory entries straddling blocks") some isofs images of Fedora miss some entries in some directories. The problem is triggered when directory entries are packed in a block in such a way that they exactly fit the block (which BTW mkisofs doesn't do so I didn't catch this bug when testing with my images). Fix readdir and lookup code to properly transition to the next block when directory block is tightly packed. Link: https://bugzilla.redhat.com/show_bug.cgi?id=2535353 Reported-by: Thomas Schmitt <[email protected]> Reported-by: Matthias Goergens <[email protected]> Fixes:b2eb2e2886("isofs: Drop support of directory entries straddling blocks") Reviewed-by: Thomas Schmitt <[email protected]> Signed-off-by: Jan Kara <[email protected]>