aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index cfb6b570f..dba583544 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -2066,6 +2066,7 @@ static int singlemount(struct mntent *mp, int ignore_busy)
2066 // Might this be an NFS filesystem? 2066 // Might this be an NFS filesystem?
2067 if ((!mp->mnt_type || is_prefixed_with(mp->mnt_type, "nfs")) 2067 if ((!mp->mnt_type || is_prefixed_with(mp->mnt_type, "nfs"))
2068 && strchr(mp->mnt_fsname, ':') != NULL 2068 && strchr(mp->mnt_fsname, ':') != NULL
2069 && !(vfsflags & (MS_REMOUNT | MS_BIND | MS_MOVE))
2069 ) { 2070 ) {
2070 if (!mp->mnt_type) 2071 if (!mp->mnt_type)
2071 mp->mnt_type = (char*)"nfs"; 2072 mp->mnt_type = (char*)"nfs";