[PATCH] fs: ext4: fix files seen as symlink during deletion

Tom Rini trini at konsulko.com
Fri Mar 31 16:15:58 CEST 2023

On Fri, Mar 17, 2023 at 01:15:12PM +0100, Corentin GUILLEVIC wrote:

> The deletion process handles special case for symlinks whose target are
> small enough that it fits in struct ext2_inode.b.symlink. So no block had
> been allocated. But the check of file type wrongly considered regular
> files as symlink. So, no block was freed. So, the EXT4 partition could be
> corrupted because of no free block available.
> Signed-off-by: Corentin GUILLEVIC <corentin.guillevic at smile.fr>

Applied to u-boot/next, thanks!

-------------- 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/20230331/dd19a5a1/attachment.sig>

More information about the U-Boot mailing list