Skip to content
Unverified Commit e95113ed authored by Konstantin Komarov's avatar Konstantin Komarov
Browse files

fs/ntfs3: Keep preallocated only if option prealloc enabled

If size of file was reduced, we still kept allocated blocks.
This commit makes ntfs3 work as other fs like btrfs.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=214719


Fixes: 4342306f ("fs/ntfs3: Add file operations and implementation")

Reported-by: default avatarGanapathi Kamath <hgkamath@hotmail.com>
Tested-by: default avatarGanapathi Kamath <hgkamath@hotmail.com>
Reviewed-by: default avatarKari Argillander <kari.argillander@gmail.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent e589f9b7
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