-
-
Save invisiblek/d5bdb37728c9da1da44b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/util-linux/mount.c b/util-linux/mount.c | |
index 16b58a0..923e6d4 100644 | |
--- a/util-linux/mount.c | |
+++ b/util-linux/mount.c | |
@@ -1926,7 +1926,10 @@ static int singlemount(struct mntent *mp, int ignore_busy) | |
break; | |
mp->mnt_type = next + 1; | |
} | |
+ if (rc !=0 && mp->mnt_type) | |
+ goto attempt_auto_filesystem; | |
} else { | |
+attempt_auto_filesystem: | |
// Loop through filesystem types until mount succeeds | |
// or we run out | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment