dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone
Blob Blame History Raw
diff -Naur a/sys-utils/losetup.c b/sys-utils/losetup.c
--- a/sys-utils/losetup.c	2021-10-20 15:24:27.694433107 -0700
+++ b/sys-utils/losetup.c	2021-10-20 15:28:27.101642814 -0700
@@ -557,7 +557,7 @@
 		if (rc == 0)
 			break;			/* success */
 
-		if (errno == EBUSY && !hasdev && ntries < 16) {
+		if (errno == EBUSY && !hasdev && ntries < 64) {
 			xusleep(200000);
 			ntries++;
 			continue;