summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-11-16 09:30:43 -0800
committerZorro Lang <zlang@kernel.org>2023-11-17 03:01:37 +0800
commit29c3cc742717b6168482327c6bb8117287e86a8e (patch)
treecab64297857f8a28bac02a178617111014514012 /common
parent3098851702d150bd94118bf299594c1ea2f9d690 (diff)
misc: update xfs_io swapext usage
Since the new 'exchange range' functionality is no longer a VFS level concept, the xfs_io swapext -v options have changed. Update fstests to reflect this new reality. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'common')
-rw-r--r--common/xfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xfs b/common/xfs
index c7671f8f..f53b33fc 100644
--- a/common/xfs
+++ b/common/xfs
@@ -1802,7 +1802,7 @@ _require_xfs_scratch_atomicswap()
{
_require_xfs_mkfs_atomicswap
_require_scratch
- _require_xfs_io_command swapext '-v vfs -a'
+ _require_xfs_io_command swapext '-v exchrange -a'
_scratch_mkfs -m reflink=1 > /dev/null
_try_scratch_mount || \
_notrun "atomicswap dependencies not supported by scratch filesystem type: $FSTYP"