Skip to content
Commit 39409fac authored by Corentin GUILLEVIC's avatar Corentin GUILLEVIC Committed by Tom Rini
Browse files

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: default avatarCorentin GUILLEVIC <corentin.guillevic@smile.fr>
parent fefd9491
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment