Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Garbage-collect vfs_lock()/vfs_unlock().



details:   https://anonhg.NetBSD.org/src/rev/9c6f34e6468e
branches:  trunk
changeset: 545277:9c6f34e6468e
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Sun Apr 06 07:04:42 2003 +0000

description:
Garbage-collect vfs_lock()/vfs_unlock().
Xref vfssubr(9).

diffstat:

 sys/sys/mount.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r a20011df52f8 -r 9c6f34e6468e sys/sys/mount.h
--- a/sys/sys/mount.h   Sun Apr 06 07:02:08 2003 +0000
+++ b/sys/sys/mount.h   Sun Apr 06 07:04:42 2003 +0000
@@ -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 @@
 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 @@
          __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 **));



Home | Main Index | Thread Index | Old Index