Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH] xfs/507: use mount -t xfs
@ 2026-07-29 12:59 Christoph Hellwig
  2026-07-29 15:46 ` Darrick J. Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2026-07-29 12:59 UTC (permalink / raw)
  To: zlang; +Cc: fstests, linux-xfs

Sometimes mount wants to try every other file system but XFS when
mounting the loop image, making this test fail.  Force mounting as XFS
to make it reliably pass.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 tests/xfs/507 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/507 b/tests/xfs/507
index e1450f4f8f94..a9eb8646680b 100755
--- a/tests/xfs/507
+++ b/tests/xfs/507
@@ -86,7 +86,7 @@ loop_dev=$(_create_loop_device $loop_file)
 
 _mkfs_dev -d cowextsize=$MAXEXTLEN -l size=256m $loop_dev >> $seqres.full
 mkdir $loop_mount
-_mount $loop_dev $loop_mount
+_mount -t xfs $loop_dev $loop_mount
 
 echo "Create crazy huge file"
 huge_file="$loop_mount/a"
-- 
2.53.0


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

end of thread, other threads:[~2026-07-29 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29 12:59 [PATCH] xfs/507: use mount -t xfs Christoph Hellwig
2026-07-29 15:46 ` Darrick J. Wong
2026-07-29 15:49   ` Christoph Hellwig

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