]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
common: remove the $FSYP check in _cleanup_dump
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Jan 2025 07:12:59 +0000 (08:12 +0100)
committerZorro Lang <zlang@kernel.org>
Sat, 1 Feb 2025 06:53:37 +0000 (14:53 +0800)
Despite the comment, _cleanup_dump is only called from xfs specific
tests, so this is superfluous.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/dump

index 50b2ba03c670f2b299481347ca0c763a502ae761..3761c16100d808b901f375cf82b40243fd2cca1b 100644 (file)
@@ -223,12 +223,6 @@ _require_tape()
 #
 _cleanup_dump()
 {
-    # Some tests include this before checking _supported_fs xfs
-    # and the sleeps & checks here get annoying
-    if [ "$FSTYP" != "xfs" ]; then
-       return
-    fi
-
     cd $here
 
     if [ -n "$DEBUGDUMP" ]; then