fs/ntfs3: Enable FALLOC_FL_INSERT_RANGE
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 21 Jun 2022 09:49:52 +0000 (12:49 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 28 Jun 2022 15:51:12 +0000 (18:51 +0300)
commite4d2f4fd5341064d2b3c5158da69421a581e7ec1
treebbed9751dfdef37bea36724281d37b8cf28c9d7b
parentaa30eccb24e5a66a2cf7f7b34a69c3651d12cc6a
fs/ntfs3: Enable FALLOC_FL_INSERT_RANGE

Changed logic in ntfs_fallocate - more clear checks in beginning
instead of the middle of function and added FALLOC_FL_INSERT_RANGE.
Fixes xfstest generic/064
Fixes: 4342306f0f0d ("fs/ntfs3: Add file operations and implementation")

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/file.c