svn commit: r266025 - stable/8/sys/kern

Bryan Drewery bdrewery at FreeBSD.org
Wed May 14 15:19:53 UTC 2014


Author: bdrewery
Date: Wed May 14 15:19:52 2014
New Revision: 266025
URL: http://svnweb.freebsd.org/changeset/base/266025

Log:
  MFC r264385:
  
    Use proper MFSNAMELEN for fs type.

Modified:
  stable/8/sys/kern/vfs_mount.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/kern/   (props changed)

Modified: stable/8/sys/kern/vfs_mount.c
==============================================================================
--- stable/8/sys/kern/vfs_mount.c	Wed May 14 15:17:12 2014	(r266024)
+++ stable/8/sys/kern/vfs_mount.c	Wed May 14 15:19:52 2014	(r266025)
@@ -807,7 +807,7 @@ mount(td, uap)
 		return (EOPNOTSUPP);
 	}
 
-	ma = mount_argsu(ma, "fstype", uap->type, MNAMELEN);
+	ma = mount_argsu(ma, "fstype", uap->type, MFSNAMELEN);
 	ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN);
 	ma = mount_argb(ma, uap->flags & MNT_RDONLY, "noro");
 	ma = mount_argb(ma, !(uap->flags & MNT_NOSUID), "nosuid");


More information about the svn-src-stable-8 mailing list