common/xfs: refactor commands to select a particular xfs backing device
[xfstests-dev.git] / tests / xfs / 146
index 8f85024d9d5961531ef45ec819384cd5804d9a3f..49020e01cbec7197bc78c04b800a1cebda6a341c 100755 (executable)
@@ -78,7 +78,7 @@ _scratch_mkfs -r size=$rtsize >> $seqres.full
 _scratch_mount >> $seqres.full
 
 # Make sure the root directory has rtinherit set so our test file will too
-$XFS_IO_PROG -c 'chattr +t' $SCRATCH_MNT
+_xfs_force_bdev realtime $SCRATCH_MNT
 
 # Allocate some stuff at the start, to force the first falloc of the ouch file
 # to happen somewhere in the middle of the rt volume