Author: bdrewery
Date: Wed May 14 15:17:12 2014
New Revision: 266024
URL: http://svnweb.freebsd.org/changeset/base/266024
Log:
MFC r264385:
Use proper MFSNAMELEN for fs type.
Modified:
stable/9/sys/kern/vfs_mount.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/kern/vfs_mount.c
==============================================================================
--- stable/9/sys/kern/vfs_mount.c Wed May 14 15:16:02 2014
(r266023)
+++ stable/9/sys/kern/vfs_mount.c Wed May 14 15:17:12 2014
(r266024)
@@ -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");
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "[email protected]"