diff options
author | pluknet <pluknet@FreeBSD.org> | 2013-01-21 20:15:35 +0000 |
---|---|---|
committer | pluknet <pluknet@FreeBSD.org> | 2013-01-21 20:15:35 +0000 |
commit | 35b211d4127c251ac2deb63c11082c3042d2a029 (patch) | |
tree | 26a646dd5d90d66a431fe2ff3ad8db0fc3f565d9 | |
parent | 69580a6939c66fe82a84d9ff067d1c3bbee5991f (diff) | |
download | FreeBSD-src-35b211d4127c251ac2deb63c11082c3042d2a029.zip FreeBSD-src-35b211d4127c251ac2deb63c11082c3042d2a029.tar.gz |
Use C99 sparse initialization for struct vfsops in pseudocode.
Where here, use conventional fsname.
-rw-r--r-- | share/man/man9/VFS_SET.9 | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/share/man/man9/VFS_SET.9 b/share/man/man9/VFS_SET.9 index f30f431..12038c8 100644 --- a/share/man/man9/VFS_SET.9 +++ b/share/man/man9/VFS_SET.9 @@ -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 , |