svn commit: r344000 - stable/12/sys/fs/smbfs

Oleksandr Tymoshenko gonzo at FreeBSD.org
Mon Feb 11 08:52:49 UTC 2019


Author: gonzo
Date: Mon Feb 11 08:52:48 2019
New Revision: 344000
URL: https://svnweb.freebsd.org/changeset/base/344000

Log:
  MFC r343209:
  
  [smbfs] Allow semicolon in mounts that support long names
  
  Semicolon is a legal character in long names but not in 8.3 format.
  Move it to respective character set.
  
  PR:		140068
  Submitted by:	tom at uffner.com

Modified:
  stable/12/sys/fs/smbfs/smbfs_vnops.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/fs/smbfs/smbfs_vnops.c
==============================================================================
--- stable/12/sys/fs/smbfs/smbfs_vnops.c	Mon Feb 11 08:49:56 2019	(r343999)
+++ stable/12/sys/fs/smbfs/smbfs_vnops.c	Mon Feb 11 08:52:48 2019	(r344000)
@@ -1120,8 +1120,8 @@ smbfs_advlock(ap)
 static int
 smbfs_pathcheck(struct smbmount *smp, const char *name, int nmlen, int nameiop)
 {
-	static const char *badchars = "*/:<>;?";
-	static const char *badchars83 = " +|,[]=";
+	static const char *badchars = "*/:<>?";
+	static const char *badchars83 = " +|,[]=;";
 	const char *cp;
 	int i, error;
 


More information about the svn-src-stable mailing list