diff options
author | kib <kib@FreeBSD.org> | 2006-10-02 07:25:58 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2006-10-02 07:25:58 +0000 |
commit | aa82c7280868d41b2efd0d802a50550c404120fa (patch) | |
tree | 99cc30d38f1cb5d1ef26c73bda765bf2c0e7c7c6 /sys/kern | |
parent | 8e20187251b5eb6fa296c7915adc34f4072fa135 (diff) | |
download | FreeBSD-src-aa82c7280868d41b2efd0d802a50550c404120fa.zip FreeBSD-src-aa82c7280868d41b2efd0d802a50550c404120fa.tar.gz |
Correct the comment: numvnodes is decreased on vdestroying the vnode.
OKed by: tegge
Approved by: pjd (mentor)
MFC after: 1 week
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index c5189ed..28fbda9 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -124,7 +124,8 @@ SYSCTL_INT(_debug, OID_AUTO, mpsafevfs, CTLFLAG_RD, &mpsafe_vfs, 0, /* * Number of vnodes in existence. Increased whenever getnewvnode() - * allocates a new vnode, never decreased. + * allocates a new vnode, decreased on vdestroy() called on VI_DOOMed + * vnode. */ static unsigned long numvnodes; |