summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-06-12 20:48:38 +0000
committerphk <phk@FreeBSD.org>2003-06-12 20:48:38 +0000
commitfd139fd7d009dbf6f6353b2011b0ff0bf4b32d44 (patch)
tree18550103bc5d68f2255cbfa41b2ed5008e5dd743 /sys/nfsclient/nfs_vfsops.c
parentc4e22440ca79ff6a8d00e3d6d31f6029efa1cb8e (diff)
downloadFreeBSD-src-fd139fd7d009dbf6f6353b2011b0ff0bf4b32d44.zip
FreeBSD-src-fd139fd7d009dbf6f6353b2011b0ff0bf4b32d44.tar.gz
Initialize struct vfsops C99-sparsely.
Submitted by: hmp Reviewed by: phk
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index ec93345..51c7a0e 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -109,20 +109,13 @@ static vfs_sync_t nfs_sync;
* nfs vfs operations.
*/
static struct vfsops nfs_vfsops = {
- nfs_mount,
- vfs_stdstart,
- nfs_unmount,
- nfs_root,
- vfs_stdquotactl,
- nfs_statfs,
- nfs_sync,
- vfs_stdvget,
- vfs_stdfhtovp, /* shouldn't happen */
- vfs_stdcheckexp,
- vfs_stdvptofh, /* shouldn't happen */
- nfs_init,
- nfs_uninit,
- vfs_stdextattrctl,
+ .vfs_init = nfs_init,
+ .vfs_mount = nfs_mount,
+ .vfs_root = nfs_root,
+ .vfs_statfs = nfs_statfs,
+ .vfs_sync = nfs_sync,
+ .vfs_uninit = nfs_uninit,
+ .vfs_unmount = nfs_unmount,
};
VFS_SET(nfs_vfsops, nfs, VFCF_NETWORK);
OpenPOWER on IntegriCloud