summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-02-22 11:42:47 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-02-22 11:42:47 +0000
commitf376c87c9f3c81b801e41c5f888ddf2d9eadce44 (patch)
treebc8999572f395ba31cd77c5ff98208aac3407920 /sys/nfs/nfs_vfsops.c
parent81f6c8c36d3f9a9852db63379e91fe1d8a82669d (diff)
Keep local definitions local.
"good work" deraadt@, ok visa@
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r--sys/nfs/nfs_vfsops.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 0882dc23de8..edb965af3fa 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.112 2016/11/15 13:46:54 mpi Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.113 2017/02/22 11:42:46 mpi Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -74,6 +74,20 @@ extern u_int32_t nfs_procids[NFS_NPROCS];
int nfs_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
int nfs_checkexp(struct mount *, struct mbuf *, int *, struct ucred **);
struct mount *nfs_mount_diskless(struct nfs_dlmount *, char *, int);
+int mountnfs(struct nfs_args *, struct mount *, struct mbuf *,
+ const char *, char *);
+int nfs_quotactl(struct mount *, int, uid_t, caddr_t, struct proc *);
+int nfs_root(struct mount *, struct vnode **);
+int nfs_start(struct mount *, int, struct proc *);
+int nfs_statfs(struct mount *, struct statfs *, struct proc *);
+int nfs_sync(struct mount *, int, struct ucred *, struct proc *);
+int nfs_unmount(struct mount *, int, struct proc *);
+int nfs_vget(struct mount *, ino_t, struct vnode **);
+int nfs_vptofh(struct vnode *, struct fid *);
+int nfs_mountroot(void);
+void nfs_decode_args(struct nfsmount *, struct nfs_args *,
+ struct nfs_args *);
+int nfs_fhtovp(struct mount *, struct fid *, struct vnode **);
/*
* nfs vfs operations.