svn commit: r266023 - stable/10/sys/kern
Bryan Drewery
bdrewery at FreeBSD.org
Wed May 14 15:16:03 UTC 2014
Author: bdrewery
Date: Wed May 14 15:16:02 2014
New Revision: 266023
URL: http://svnweb.freebsd.org/changeset/base/266023
Log:
MFC r264385:
Use proper MFSNAMELEN for fs type.
Modified:
stable/10/sys/kern/vfs_mount.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/kern/vfs_mount.c
==============================================================================
--- stable/10/sys/kern/vfs_mount.c Wed May 14 14:37:27 2014 (r266022)
+++ stable/10/sys/kern/vfs_mount.c Wed May 14 15:16:02 2014 (r266023)
@@ -748,7 +748,7 @@ sys_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, flags & MNT_RDONLY, "noro");
ma = mount_argb(ma, !(flags & MNT_NOSUID), "nosuid");
More information about the svn-src-stable-10
mailing list