Use C99 sparse initialization for struct vfsops in pseudocode.

Where here, use conventional fsname.
This commit is contained in:
Sergey Kandaurov 2013-01-21 20:15:35 +00:00
parent d5861eaae8
commit dbfee063ce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245746

View File

@ -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 ,