public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fstests: fix flaky device name in _cleanup_flakey
@ 2025-12-17 17:00 Anand Jain
  2025-12-17 17:45 ` Darrick J. Wong
  2025-12-18  5:29 ` Christoph Hellwig
  0 siblings, 2 replies; 5+ messages in thread
From: Anand Jain @ 2025-12-17 17:00 UTC (permalink / raw)
  To: zlang; +Cc: hch, fstests

There is no device named flakey-test, which _cleanup_flakey() currently
uses. The actual device name is stored in $FLAKEY_NAME and is set to
flakey-test.$seq. Use $FLAKEY_NAME instead.

Signed-off-by: Anand Jain <asj@kernel.org>
---
 (apply this on top of the patchset
	'stop overriding SCRATCH_{,LOG,RT}DEV v2')
 common/dmflakey | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/dmflakey b/common/dmflakey
index cb0359901c16..6ac666f5b61e 100644
--- a/common/dmflakey
+++ b/common/dmflakey
@@ -76,7 +76,7 @@ _cleanup_flakey()
 	# otherwise the umount will hang
 	test -n "$NON_FLAKEY_LOGDEV" && $DMSETUP_PROG resume $FLAKEY_LOGNAME &> /dev/null
 	test -n "$NON_FLAKEY_RTDEV" && $DMSETUP_PROG resume $FLAKEY_RTNAME &> /dev/null
-	test -n "$NON_FLAKEY_DEV" && $DMSETUP_PROG resume flakey-test > /dev/null 2>&1
+	test -n "$NON_FLAKEY_DEV" && $DMSETUP_PROG resume $FLAKEY_NAME &> /dev/null
 
 	_unmount $SCRATCH_MNT > /dev/null 2>&1
 
-- 
2.43.0


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

end of thread, other threads:[~2025-12-18  6:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17 17:00 [PATCH] fstests: fix flaky device name in _cleanup_flakey Anand Jain
2025-12-17 17:45 ` Darrick J. Wong
2025-12-18  5:29 ` Christoph Hellwig
2025-12-18  6:11   ` Anand Jain
2025-12-18  6:13     ` Christoph Hellwig

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