Source-Changes-HG archive

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

[src/trunk]: src/sys vinsheadfree -> ungetnewvnode



details:   https://anonhg.NetBSD.org/src/rev/57a43fe03952
branches:  trunk
changeset: 493961:57a43fe03952
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Jun 27 23:51:51 2000 +0000

description:
vinsheadfree -> ungetnewvnode

diffstat:

 sys/kern/vfs_subr.c |  6 +++---
 sys/sys/vnode.h     |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 70952a745a28 -r 57a43fe03952 sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c       Tue Jun 27 23:51:22 2000 +0000
+++ b/sys/kern/vfs_subr.c       Tue Jun 27 23:51:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_subr.c,v 1.130 2000/06/27 23:34:45 fvdl Exp $      */
+/*     $NetBSD: vfs_subr.c,v 1.131 2000/06/27 23:52:18 fvdl Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -545,12 +545,12 @@
  * of a locking race.
  */
 void
-vinsheadfree(vp)
+ungetnewvnode(vp)
        struct vnode *vp;
 {
 #ifdef DIAGNOSTIC
        if (vp->v_usecount != 1)
-               panic("vinsheadfree: busy vnode");
+               panic("ungetnewvnode: busy vnode");
 #endif
        vp->v_usecount--;
        insmntque(vp, NULL);
diff -r 70952a745a28 -r 57a43fe03952 sys/sys/vnode.h
--- a/sys/sys/vnode.h   Tue Jun 27 23:51:22 2000 +0000
+++ b/sys/sys/vnode.h   Tue Jun 27 23:51:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vnode.h,v 1.80 2000/06/27 23:36:06 fvdl Exp $  */
+/*     $NetBSD: vnode.h,v 1.81 2000/06/27 23:51:51 fvdl Exp $  */
 
 /*
  * Copyright (c) 1989, 1993
@@ -486,7 +486,7 @@
 int    cdevvp __P((dev_t dev, struct vnode **vpp));
 int    getnewvnode __P((enum vtagtype tag, struct mount *mp,
                         int (**vops) __P((void *)), struct vnode **vpp));
-void   vinsheadfree __P((struct vnode *));
+void   ungetnewvnode __P((struct vnode *));
 int    getvnode __P((struct filedesc *fdp, int fd, struct file **fpp));
 void   vfs_getnewfsid __P((struct mount *));
 int    speedup_syncer __P((void));



Home | Main Index | Thread Index | Old Index