]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Make ntfs_fallocate return -ENOSPC instead of -EFBIG
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 13 May 2022 16:21:54 +0000 (19:21 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 3 Aug 2022 15:25:05 +0000 (18:25 +0300)
commita9a4a2783ea916e087110c81ebdcacd3d837b021
treed2414fd6e233c84c93b741670f6459c2417be5b0
parent74318e91df8d52b90638c4cf45768eefa02b31a8
fs/ntfs3: Make ntfs_fallocate return -ENOSPC instead of -EFBIG

In some cases we need to return ENOSPC
Fixes xfstest generic/213
Fixes: 0a06f708093a ("fs/ntfs3: Check new size for limits")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/file.c