summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry@NetBSD.org>2003-04-06 07:04:42 +0000
committergmcgarry <gmcgarry@NetBSD.org>2003-04-06 07:04:42 +0000
commitedf5b18a39f2b8006435abe35b97ad6ec6dfd8e4 (patch)
treec29b71c2b7a21dec9ea627763f2ea4c492f4c56d /sys
parent2d6cf912cf512d55f06f028b899807e42e0fbd8d (diff)
Garbage-collect vfs_lock()/vfs_unlock().
Xref vfssubr(9).
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mount.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 3f441ae7ba1..f0b39646ef8 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.h,v 1.99 2003/02/01 06:23:50 thorpej Exp $ */
+/* $NetBSD: mount.h,v 1.100 2003/04/06 07:04:42 gmcgarry Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -460,7 +460,7 @@ struct nfs_public {
MALLOC_DECLARE(M_MOUNT);
/*
- * exported vnode operations
+ * exported VFS interface (see vfssubr(9))
*/
struct mount *vfs_getvfs __P((fsid_t *)); /* return vfs given fsid */
int vfs_export /* process mount export info */
@@ -470,11 +470,9 @@ struct netcred *vfs_export_lookup /* lookup host in fs export list */
__P((struct mount *, struct netexport *, struct mbuf *));
int vfs_setpublicfs /* set publicly exported fs */
__P((struct mount *, struct netexport *, struct export_args *));
-int vfs_lock __P((struct mount *)); /* lock a vfs */
int vfs_mountedon __P((struct vnode *));/* is a vfs mounted on vp */
int vfs_mountroot __P((void));
void vfs_shutdown __P((void)); /* unmount and sync file systems */
-void vfs_unlock __P((struct mount *)); /* unlock a vfs */
void vfs_unmountall __P((struct proc *)); /* unmount file systems */
int vfs_busy __P((struct mount *, int, struct simplelock *));
int vfs_rootmountalloc __P((char *, char *, struct mount **));