Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Add vgonel(), although it is used only once.



details:   https://anonhg.NetBSD.org/src/rev/24969cc1e534
branches:  trunk
changeset: 538601:24969cc1e534
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Wed Oct 23 06:15:59 2002 +0000

description:
Add vgonel(), although it is used only once.

diffstat:

 share/man/man9/Makefile |   3 ++-
 share/man/man9/vnode.9  |  11 +++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 4f97cf112bc6 -r 24969cc1e534 share/man/man9/Makefile
--- a/share/man/man9/Makefile   Wed Oct 23 03:48:07 2002 +0000
+++ b/share/man/man9/Makefile   Wed Oct 23 06:15:59 2002 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: Makefile,v 1.130 2002/10/20 05:16:32 gmcgarry Exp $
+#       $NetBSD: Makefile,v 1.131 2002/10/23 06:15:59 gmcgarry Exp $
 
 #      Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -469,6 +469,7 @@
        vnode.9 ungetnewvnode.9 \
        vnode.9 vrecycle.9 \
        vnode.9 vgone.9 \
+       vnode.9 vgonel.9 \
        vnode.9 vflush.9 \
        vnode.9 vaccess.9 \
        vnode.9 checkalias.9 \
diff -r 4f97cf112bc6 -r 24969cc1e534 share/man/man9/vnode.9
--- a/share/man/man9/vnode.9    Wed Oct 23 03:48:07 2002 +0000
+++ b/share/man/man9/vnode.9    Wed Oct 23 06:15:59 2002 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: vnode.9,v 1.10 2002/10/14 13:43:36 wiz Exp $
+.\"     $NetBSD: vnode.9,v 1.11 2002/10/23 06:15:59 gmcgarry Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -53,6 +53,7 @@
 .Nm ungetnewvnode ,
 .Nm vrecycle ,
 .Nm vgone ,
+.Nm vgonel ,
 .Nm vflush ,
 .Nm vaccess ,
 .Nm checkalias ,
@@ -97,6 +98,8 @@
 .Fn vrecycle "struct vnode *vp" "struct simplelock *inter_lkp" "struct proc *p"
 .Ft void
 .Fn vgone "struct vnode *vp"
+.Ft void
+.Fn vgonel "struct vnode *vp"
 .Ft int
 .Fn vflush "struct mount *mp" "struct vnode *skipvp" "int flags"
 .Ft int
@@ -642,7 +645,11 @@
 .Fn vrecycle
 is a null operation if the reference count is greater than zero.
 .It Fn vgone "vp"
-Eliminate all activity associated with the vnode
+Eliminate all activity associated with the unlocked vnode
+.Fa vp
+in preparation for recycling.
+.It Fn vgonel "vp"
+Eliminate all activity associated with the locked vnode
 .Fa vp
 in preparation for recycling.
 .It Fn vflush "mp" "skipvp" "flags"



Home | Main Index | Thread Index | Old Index