From owner-svn-src-head@freebsd.org Mon Jun 20 15:45:51 2016 Return-Path: Delivered-To: svn-src-head@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 9C00EA7B0FC; Mon, 20 Jun 2016 15:45:51 +0000 (UTC) (envelope-from kib@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 68D4E2A4A; Mon, 20 Jun 2016 15:45:51 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5KFjo4n082200; Mon, 20 Jun 2016 15:45:50 GMT (envelope-from kib@FreeBSD.org) Received: (from kib@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5KFjo9S082199; Mon, 20 Jun 2016 15:45:50 GMT (envelope-from kib@FreeBSD.org) Message-Id: <201606201545.u5KFjo9S082199@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kib set sender to kib@FreeBSD.org using -f From: Konstantin Belousov Date: Mon, 20 Jun 2016 15:45:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302029 - 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-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 15:45:51 -0000 Author: kib Date: Mon Jun 20 15:45:50 2016 New Revision: 302029 URL: https://svnweb.freebsd.org/changeset/base/302029 Log: Fix typo. Note that atomic is still required even for interlocked case. Sponsored by: The FreeBSD Foundation Approved by: re (marius) Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c ============================================================================== --- head/sys/kern/vfs_subr.c Mon Jun 20 09:15:03 2016 (r302028) +++ head/sys/kern/vfs_subr.c Mon Jun 20 15:45:50 2016 (r302029) @@ -2494,9 +2494,10 @@ v_decr_devcount(struct vnode *vp) * * Notes on lockless counter manipulation: * _vhold, vputx and other routines make various decisions based - * on either holdcnt or usecount being 0. As long as either contuner + * on either holdcnt or usecount being 0. As long as either counter * is not transitioning 0->1 nor 1->0, the manipulation can be done - * with atomic operations. Otherwise the interlock is taken. + * with atomic operations. Otherwise the interlock is taken covering + * both the atomic and additional actions. */ int vget(struct vnode *vp, int flags, struct thread *td)