Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 20:15:35 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245746 - head/share/man/man9
Message-ID:  <201301212015.r0LKFZuU045173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301212015.r0LKFZuU045173>