]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/135: don't try to rm $SCRATCH_MNT/*
authorTheodore Ts'o <tytso@mit.edu>
Sun, 15 Dec 2024 05:12:41 +0000 (00:12 -0500)
committerZorro Lang <zlang@kernel.org>
Sun, 22 Dec 2024 14:09:46 +0000 (22:09 +0800)
commitf7262fd49cf89e38f72cb4a7e71a1509e2f49ef5
tree85df53104c1c9a3480a0217b0cd637c57289a32c
parenta1d583fa0062f097b54dfb2b9b7ff1d9260c855c
generic/135: don't try to rm $SCRATCH_MNT/*

This fixes a regression for ext4 introduced by commit 32e14cb90b88
("fstests: don't use directory stacks"), which replaced a number of
files at the top-level of the scratch file system:

    async_file sync_file direct_file trunc_file

with "rm $SCRATCH_MNT/*".  This causes a test failure on ext4 file
systems caused by a failed attempt to unlink the lost+found directory.
The thing, is these files are all super small (4k or 16k) and the
scratch file system is going to get reformatted before it gets used
again.  So just dropping the delete is the simplest way to solve the
problem.

Fixes: 32e14cb90b88 ("fstests: don't use directory stacks")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/135