diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-10-25 17:34:06 +0200 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-11-24 13:13:27 +0100 |
commit | 114346978cf61de02832cc3cc68432a3de70fb38 (patch) | |
tree | e42c3549de1a20930cf563c89712e4bab798cd9a /fs/xfs/scrub/inode.c | |
parent | fs/ntfs3: Fix fiemap + fix shrink file size (to remove preallocated space) (diff) | |
download | linux-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/xfs/scrub/inode.c')
0 files changed, 0 insertions, 0 deletions