From: Christoph Hellwig Date: Thu, 7 May 2026 05:09:49 +0000 (+0200) Subject: xfs/216: pass -t xfs to _mount X-Git-Tag: v2026.05.17~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12c729c1a296dcd799a217a26c433f9bf79477fa;p=xfstests-dev.git xfs/216: pass -t xfs to _mount Without this, mount probes different file system type, which ended up exposing kernel bugs in blocksize > PAGE_SIZE bugs in tons of legacy file systems. Bypass that by forcing XFS and making the mount a little more efficient. Signed-off-by: Christoph Hellwig Reviewed-by: Zorro Lang Reviewed-by: Andrey Albershteyn Signed-off-by: Zorro Lang --- diff --git a/tests/xfs/216 b/tests/xfs/216 index 091c11d0..2096dd9b 100755 --- a/tests/xfs/216 +++ b/tests/xfs/216 @@ -57,7 +57,7 @@ _do_mkfs() echo -n "fssize=${i}g " $MKFS_XFS_PROG -f -b size=4096 -l version=2 \ -d size=${i}g $loop_mkfs_opts $loop_dev |grep log - _mount $loop_dev $LOOP_MNT + _mount -t xfs $loop_dev $LOOP_MNT echo "test write" > $LOOP_MNT/test _unmount $LOOP_MNT > /dev/null 2>&1 done