common/xfs: refactor commands to select a particular xfs backing device
[xfstests-dev.git] / tests / xfs / 528
index 7f98c5b8038876ca24d7dea4a2832a644da80cec..d483ae8271fb36ca8aa4482124c51f380219f026 100755 (executable)
@@ -77,7 +77,7 @@ test_ops() {
                _notrun "Could not mount rextsize=$rextsize with synthetic rt volume"
 
        # Force all files to be realtime files
-       $XFS_IO_PROG -c 'chattr +t' $SCRATCH_MNT
+       _xfs_force_bdev realtime $SCRATCH_MNT
 
        log "Test regular write, rextsize=$rextsize"
        mk_file $SCRATCH_MNT/write $rextsize