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");
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to