Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH] xfs/216: pass -t xfs to _mount
@ 2026-05-07  5:09 Christoph Hellwig
  2026-05-07  9:20 ` Andrey Albershteyn
  2026-05-07 18:45 ` Zorro Lang
  0 siblings, 2 replies; 3+ messages in thread
From: Christoph Hellwig @ 2026-05-07  5:09 UTC (permalink / raw)
  To: zlang; +Cc: djwong, linux-xfs, fstests

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 <hch@lst.de>
---
 tests/xfs/216 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/216 b/tests/xfs/216
index 091c11d08642..2096dd9b53d9 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
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-07 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07  5:09 [PATCH] xfs/216: pass -t xfs to _mount Christoph Hellwig
2026-05-07  9:20 ` Andrey Albershteyn
2026-05-07 18:45 ` Zorro Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox