Unverified Commit 519f38de authored by Konstantin Komarov's avatar Konstantin Komarov
Browse files

fs/ntfs3: Fix attr_insert_range at end of file



If the offset is equal to or greater than the end of
file, an error is returned. For such operations (i.e., inserting
a hole at the end of file), ftruncate(2) should be used.

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