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

2023-03-31 Thread Tom Rini
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

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

2023-03-20 Thread Tom Rini
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

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

2023-03-17 Thread Corentin GUILLEVIC
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