aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-10-04 21:44:20 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-10-04 21:44:20 +0000
commit0617f64ec62ba92b528337d46db263acb1db30f1 (patch)
tree1e3734ea630c192b48e26be385f1e3c7d0f7a783 /sys/kern/vfs_subr.c
parent493deb390baef09f40125589cbdb714cb274ab04 (diff)
downloadsrc-0617f64ec62ba92b528337d46db263acb1db30f1.tar.gz
src-0617f64ec62ba92b528337d46db263acb1db30f1.zip
Correct some comments after r294299.
Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=306689
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 514b8ba212c8..6fbb3ff9af75 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2503,9 +2503,8 @@ v_incr_usecount_locked(struct vnode *vp)
}
/*
- * Increment the use and hold counts on the vnode, taking care to reference
- * the driver's usecount if this is a chardev. The _vhold() will remove
- * the vnode from the free list if it is presently free.
+ * Increment the use count on the vnode, taking care to reference
+ * the driver's usecount if this is a chardev.
*/
static void
v_incr_usecount(struct vnode *vp)
@@ -2626,7 +2625,8 @@ vget(struct vnode *vp, int flags, struct thread *td)
}
/*
- * Increase the reference count of a vnode.
+ * Increase the reference (use) and hold count of a vnode.
+ * This will also remove the vnode from the free list if it is presently free.
*/
void
vref(struct vnode *vp)