summaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayout.c
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-10-25 17:34:06 +0200
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-11-24 13:13:27 +0100
commit114346978cf61de02832cc3cc68432a3de70fb38 (patch)
treee42c3549de1a20930cf563c89712e4bab798cd9a /fs/nfs/filelayout/filelayout.c
parentfs/ntfs3: Fix fiemap + fix shrink file size (to remove preallocated space) (diff)
downloadlinux-114346978cf61de02832cc3cc68432a3de70fb38.tar.xz
linux-114346978cf61de02832cc3cc68432a3de70fb38.zip
fs/ntfs3: Check new size for limits
We must check size before trying to allocate. Size can be set for example by "ulimit -f". Fixes xfstest generic/228 Fixes: 4342306f0f0d ("fs/ntfs3: Add file operations and implementation") Reviewed-by: Kari Argillander <kari.argillander@gmail.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/nfs/filelayout/filelayout.c')
0 files changed, 0 insertions, 0 deletions