common/xfs: refactor commands to select a particular xfs backing device
[xfstests-dev.git] / tests / generic / 449
index 5fd15367878f7b53ee4fa0831f182f61a7454ee4..2a5065f64bba21b7c47fa515b57cf70247230a4f 100755 (executable)
@@ -46,7 +46,7 @@ _scratch_mount || _fail "mount failed"
 # This is a test of xattr behavior when we run out of disk space for xattrs,
 # so make sure the pwrite goes to the data device and not the rt volume.
 test "$FSTYP" = "xfs" && \
-       $XFS_IO_PROG -c 'chattr -t' $SCRATCH_MNT
+       _xfs_force_bdev data $SCRATCH_MNT
 
 TFILE=$SCRATCH_MNT/testfile.$seq