common/xfs: refactor commands to select a particular xfs backing device
[xfstests-dev.git] / tests / xfs / 532
index 560af586100d28b200ecf77207961e1d2453b689..f421070a3ad3489dbd0e809a48aff4c32fe36935 100755 (executable)
@@ -47,7 +47,7 @@ _scratch_mount >> $seqres.full
 
 # Disable realtime inherit flag (if any) on root directory so that space on data
 # device gets fragmented rather than realtime device.
-$XFS_IO_PROG -c 'chattr -t' $SCRATCH_MNT
+_xfs_force_bdev data $SCRATCH_MNT
 
 bsize=$(_get_block_size $SCRATCH_MNT)