From owner-svn-src-all@freebsd.org Tue Oct 4 21:44:21 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D935DAF51BA; Tue, 4 Oct 2016 21:44:21 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABF61C7D; Tue, 4 Oct 2016 21:44:21 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u94LiKRh071535; Tue, 4 Oct 2016 21:44:20 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u94LiK2o071534; Tue, 4 Oct 2016 21:44:20 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201610042144.u94LiK2o071534@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Tue, 4 Oct 2016 21:44:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306689 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 21:44:21 -0000 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)