common/xfs: refactor commands to select a particular xfs backing device
[xfstests-dev.git] / tests / generic / 223
index f63932938c9bf620ec326941f2a17f679bfd87c5..078fd72573044122f97ad1c26c56138d280e9e75 100755 (executable)
@@ -46,7 +46,8 @@ for SUNIT_K in 8 16 32 64 128; do
        # This test checks for stripe alignments of space allocations on the
        # filesystem.  Make sure all files get created on the main device,
        # which for XFS means no rt files.
-       test "$FSTYP" = "xfs" && $XFS_IO_PROG -c 'chattr -t' $SCRATCH_MNT
+       test "$FSTYP" = "xfs" && \
+               _xfs_force_bdev data $SCRATCH_MNT
 
        for SIZE_MULT in 1 2 8 64 256; do
                let SIZE=$SIZE_MULT*$SUNIT_BYTES