common/rc: relax xfs swapfile support checks
[xfstests-dev.git] / common / rc
index 0fe1366..8e20749 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -2534,10 +2534,10 @@ _require_scratch_swapfile()
        # Minimum size for mkswap is 10 pages
        _format_swapfile "$SCRATCH_MNT/swap" $(($(get_page_size) * 10))
 
-       # ext* and xfs have supported all variants of swap files since their
+       # ext* has supported all variants of swap files since their
        # introduction, so swapon should not fail.
        case "$FSTYP" in
-       ext2|ext3|ext4|xfs)
+       ext2|ext3|ext4)
                if ! swapon "$SCRATCH_MNT/swap" >/dev/null 2>&1; then
                        _scratch_unmount
                        _fail "swapon failed for $FSTYP"