]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/033: Don't call 'fzero' with the KEEP_SIZE flag
authorAnna Schumaker <anna.schumaker@oracle.com>
Fri, 25 Apr 2025 15:24:52 +0000 (11:24 -0400)
committerZorro Lang <zlang@kernel.org>
Sat, 26 Apr 2025 12:53:52 +0000 (20:53 +0800)
commitf3cbd32a49f57bfbc2b7a41a44195bd153a528ad
tree2472ebbff8a00898e040016f39d9623acbbb4c41
parentd56ff7a3a2535807a90a27f6907158e7bcecf143
generic/033: Don't call 'fzero' with the KEEP_SIZE flag

None of the fzero calls in this test end up writing past the end of the
file, so this flag is unnecessary and can cause the test to fail on
filesystems that don't implement FALLOC_FL_KEEP_SIZE.

Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/033