common/xfs: refactor commands to select a particular xfs backing device
[xfstests-dev.git] / tests / xfs / 318
index 07375b1f80de21479324b5ee581f4c8153f3b5af..07b4f7f130fc8d88926be1495e4c7f32e9c6a577 100755 (executable)
@@ -44,7 +44,7 @@ _scratch_mount >> $seqres.full
 
 # This test depends on specific behaviors of the data device, so create all
 # files on it.
-$XFS_IO_PROG -c 'chattr -t' $SCRATCH_MNT
+_xfs_force_bdev data $SCRATCH_MNT
 
 echo "Create files"
 touch $SCRATCH_MNT/file1