diff options
author | 2020-03-18 20:43:38 +0800 | |
---|---|---|
committer | 2020-03-22 22:49:10 -0500 | |
commit | ef4a632ccc1c7d3fb71a5baae85b79af08b7f94b (patch) | |
tree | a6fde4808538a218a0963f3b7f00dc4e7e26f7dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | SMB3: Minor cleanup of protocol definitions (diff) | |
download | wireguard-linux-ef4a632ccc1c7d3fb71a5baae85b79af08b7f94b.tar.xz wireguard-linux-ef4a632ccc1c7d3fb71a5baae85b79af08b7f94b.zip |
CIFS: check new file size when extending file by fallocate
xfstests generic/228 checks if fallocate respect RLIMIT_FSIZE.
After fallocate mode 0 extending enabled, we can hit this failure.
Fix this by check the new file size with vfs helper, return
error if file size is larger then RLIMIT_FSIZE(ulimit -f).
This patch has been tested by LTP/xfstests aginst samba and
Windows server.
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions