Source-Changes-HG archive

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

[src/trunk]: src vcount() was removed



details:   https://anonhg.NetBSD.org/src/rev/6940cba0f968
branches:  trunk
changeset: 750619:6940cba0f968
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Jan 08 13:10:48 2010 +0000

description:
vcount() was removed

diffstat:

 distrib/sets/lists/comp/mi |  8 ++++----
 share/man/man9/Makefile    |  5 ++---
 share/man/man9/vnode.9     |  9 +--------
 3 files changed, 7 insertions(+), 15 deletions(-)

diffs (92 lines):

diff -r 68f89a48dbcf -r 6940cba0f968 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Fri Jan 08 13:07:26 2010 +0000
+++ b/distrib/sets/lists/comp/mi        Fri Jan 08 13:10:48 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.1357 2010/01/08 12:41:33 pooka Exp $
+#      $NetBSD: mi,v 1.1358 2010/01/08 13:10:48 pooka Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -9454,7 +9454,7 @@
 ./usr/share/man/cat9/vattr.0                   comp-sys-catman         .cat
 ./usr/share/man/cat9/vattr_null.0              comp-sys-catman         .cat
 ./usr/share/man/cat9/vcons.0                   comp-sys-catman         .cat
-./usr/share/man/cat9/vcount.0                  comp-sys-catman         .cat
+./usr/share/man/cat9/vcount.0                  comp-sys-catman         obsolete
 ./usr/share/man/cat9/vdevgone.0                        comp-sys-catman         .cat
 ./usr/share/man/cat9/veriexec.0                        comp-sys-catman         .cat
 ./usr/share/man/cat9/vfinddev.0                        comp-sys-catman         .cat
@@ -14933,7 +14933,7 @@
 ./usr/share/man/html9/vattr.html               comp-sys-htmlman        html
 ./usr/share/man/html9/vattr_null.html          comp-sys-htmlman        html
 ./usr/share/man/html9/vcons.html               comp-sys-htmlman        html
-./usr/share/man/html9/vcount.html              comp-sys-htmlman        html
+./usr/share/man/html9/vcount.html              comp-sys-htmlman        obsolete
 ./usr/share/man/html9/vdevgone.html            comp-sys-htmlman        html
 ./usr/share/man/html9/veriexec.html            comp-sys-htmlman        html
 ./usr/share/man/html9/vfinddev.html            comp-sys-htmlman        html
@@ -20653,7 +20653,7 @@
 ./usr/share/man/man9/vattr.9                   comp-sys-man            .man
 ./usr/share/man/man9/vattr_null.9              comp-sys-man            .man
 ./usr/share/man/man9/vcons.9                   comp-sys-man            .man
-./usr/share/man/man9/vcount.9                  comp-sys-man            .man
+./usr/share/man/man9/vcount.9                  comp-sys-man            obsolete
 ./usr/share/man/man9/vdevgone.9                        comp-sys-man            .man
 ./usr/share/man/man9/veriexec.9                        comp-sys-man            .man
 ./usr/share/man/man9/vfinddev.9                        comp-sys-man            .man
diff -r 68f89a48dbcf -r 6940cba0f968 share/man/man9/Makefile
--- a/share/man/man9/Makefile   Fri Jan 08 13:07:26 2010 +0000
+++ b/share/man/man9/Makefile   Fri Jan 08 13:10:48 2010 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: Makefile,v 1.301 2010/01/08 12:41:33 pooka Exp $
+#       $NetBSD: Makefile,v 1.302 2010/01/08 13:10:48 pooka Exp $
 
 #      Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -741,8 +741,7 @@
        vmem.9 vmem_free.9 \
        vmem.9 vmem_xalloc.9 \
        vmem.9 vmem_xfree.9
-MLINKS+=vnode.9 vcount.9 \
-       vnode.9 vref.9 \
+MLINKS+=vnode.9 vref.9 \
        vnode.9 vrele.9 \
        vnode.9 vget.9 \
        vnode.9 vput.9 \
diff -r 68f89a48dbcf -r 6940cba0f968 share/man/man9/vnode.9
--- a/share/man/man9/vnode.9    Fri Jan 08 13:07:26 2010 +0000
+++ b/share/man/man9/vnode.9    Fri Jan 08 13:10:48 2010 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: vnode.9,v 1.42 2010/01/08 12:41:33 pooka Exp $
+.\"     $NetBSD: vnode.9,v 1.43 2010/01/08 13:10:48 pooka Exp $
 .\"
 .\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -32,7 +32,6 @@
 .Os
 .Sh NAME
 .Nm vnode ,
-.Nm vcount ,
 .Nm vref ,
 .Nm vrele ,
 .Nm vget ,
@@ -60,8 +59,6 @@
 .Sh SYNOPSIS
 .In sys/param.h
 .In sys/vnode.h
-.Ft int
-.Fn vcount "struct vnode *vp"
 .Ft void
 .Fn vref "struct vnode *vp"
 .Ft void
@@ -510,10 +507,6 @@
 The vnode lock must not be acquired within interrupt context.
 .Sh FUNCTIONS
 .Bl -tag -width compact
-.It Fn vcount "vp"
-Calculate the total number of reference counts to a special device
-with vnode
-.Fa vp .
 .It Fn vref "vp"
 Increment
 .Em v_usecount



Home | Main Index | Thread Index | Old Index