File util-linux-2.14.1-canonicalize_mountpoint.patch of Package util-linux

--- mount/fsprobe.c
+++ mount/fsprobe.c
@@ -192,7 +192,7 @@
 	if (verbose > 1)
 		printf(_("mount: no LABEL=, no UUID=, going to mount %s by path\n"), spec);
 
-	return canonicalize(spec);
+	return canonicalize_mountpoint(spec);
 }
 
 /* like fsprobe_get_devname_for_mounting(), but without verbose messages */
@@ -219,6 +219,6 @@
 		return nspec;
 	}
 
-	return canonicalize(spec);
+	return canonicalize_mountpoint(spec);
 }
 
--- mount/mount.c
+++ mount/mount.c
@@ -982,7 +982,7 @@
 		  const char *opts, int flags, int freq, int pass) {
 	struct my_mntent mnt;
 
-	mnt.mnt_fsname = canonicalize (spec);
+	mnt.mnt_fsname = canonicalize_mountpoint (spec);
 	mnt.mnt_dir = canonicalize_mountpoint (node);
 	mnt.mnt_type = type;
 	mnt.mnt_opts = opts;
openSUSE Build Service is sponsored by