commit | d4620ae281a57f9dbf4d1c70d397b65ce394a8c1 | [log] [tgz] |
---|---|---|
author | Corentin GUILLEVIC <corentin.guillevic@smile.fr> | Fri Mar 17 13:15:12 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 30 15:09:59 2023 -0400 |
tree | 13b9182c82c79f825ce66bf05a6d27110b3f98c6 | |
parent | 4052d1f9330d61dadaf0062a957336e4d47f9244 [diff] |
fs: ext4: fix files seen as symlink during deletion 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@smile.fr>