svn commit: r245746 - head/share/man/man9

Sergey Kandaurov pluknet at FreeBSD.org
Mon Jan 21 20:15:36 UTC 2013


Author: pluknet
Date: Mon Jan 21 20:15:35 2013
New Revision: 245746
URL: http://svnweb.freebsd.org/changeset/base/245746

Log:
  Use C99 sparse initialization for struct vfsops in pseudocode.
  Where here, use conventional fsname.

Modified:
  head/share/man/man9/VFS_SET.9

Modified: head/share/man/man9/VFS_SET.9
==============================================================================
--- head/share/man/man9/VFS_SET.9	Mon Jan 21 17:37:23 2013	(r245745)
+++ head/share/man/man9/VFS_SET.9	Mon Jan 21 20:15:35 2013	(r245746)
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 5, 2007
+.Dd January 22, 2012
 .Dt VFS_SET 9
 .Os
 .Sh NAME
@@ -87,23 +87,13 @@ sysctl is set to
  * fill in the ones we use, and use the vfs_std for the rest.
  */
 static struct vfsops myfs_vfsops = {
-        myfs_mount,
-        vfs_stdstart,
-        myfs_unmount,
-        myfs_root,
-        vfs_stdquotactl,
-        myfs_statfs,
-        vfs_stdsync,
-        vfs_stdvget,
-        vfs_stdfhtovp,
-        vfs_stdcheckexp,
-        vfs_stdvptofh,
-        vfs_stdinit,
-        vfs_stduninit,
-        vfs_stdextattrctl,
+        .vfs_mount =    myfs_mount,
+        .vfs_root =     myfs_root,
+        .vfs_statfs =   myfs_statfs,
+        .vfs_unmount =  myfs_unmount,
 };
 
-VFS_SET(myfs_vfsops, skelfs, 0);
+VFS_SET(myfs_vfsops, myfs, 0);
 .Ed
 .Sh SEE ALSO
 .Xr jail 2 ,


More information about the svn-src-all mailing list