Date: Tue, 4 Oct 2016 21:44:20 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306689 - head/sys/kern Message-ID: <201610042144.u94LiK2o071534@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610042144.u94LiK2o071534>