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

fs/ntfs3: Keep prealloc for all types of files



Before we haven't kept prealloc for sparse files because we thought that
it will speed up create / write operations.
It lead to situation, when user reserved some space for sparse file,
filled volume, and wasn't able to write in reserved file.
With this commit we keep prealloc.
Now xfstest generic/274 pass.
Fixes: be71b5cb ("fs/ntfs3: Add attrib operations")

Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 95dd8b2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment