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.guille...@smile.fr> > --- > > fs/ext4/ext4_write.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Can we update test/py/tests/test_fs/ somewhere to have a test for this case? Thanks. -- Tom
signature.asc
Description: PGP signature