svn commit: r306689 - head/sys/kern
Bryan Drewery
bdrewery at FreeBSD.org
Tue Oct 4 21:44:21 UTC 2016
Author: bdrewery
Date: Tue Oct 4 21:44:20 2016
New Revision: 306689
URL: https://svnweb.freebsd.org/changeset/base/306689
Log:
Correct some comments after r294299.
Sponsored by: Dell EMC Isilon
Modified:
head/sys/kern/vfs_subr.c
Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c Tue Oct 4 20:55:48 2016 (r306688)
+++ head/sys/kern/vfs_subr.c Tue Oct 4 21:44:20 2016 (r306689)
@@ -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
}
/*
- * 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)
More information about the svn-src-head
mailing list