OSDN Git Service

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

In some cases we need to return ENOSPC
Fixes xfstest generic/213
Fixes: 114346978cf6 ("fs/ntfs3: Check new size for limits")

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