]> 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)
commite3f927b20fe40209cf788eb2d6243670e43e5a5f
treed2414fd6e233c84c93b741670f6459c2417be5b0
parent904c16fa3e5cdfbf68b7f8329685ee6a6094cd0f
fs/ntfs3: Make ntfs_fallocate return -ENOSPC instead of -EFBIG

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