Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 741E81A9217 for ; Tue, 4 Aug 2020 03:00:12 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id D359384D9B; Tue, 4 Aug 2020 03:00:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 525EF84D9B for ; Tue, 4 Aug 2020 03:00:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id crS4p0lOVvsM for ; Tue, 4 Aug 2020 03:00:11 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E103784D7D for ; Tue, 4 Aug 2020 03:00:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CD44EFB28; Tue, 4 Aug 2020 03:00:10 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 4 Aug 2020 03:00:10 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200804030010.CD44EFB28@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Tue Aug 4 03:00:10 UTC 2020 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Fix bogus fast path in vput. If we can't discern whether we have an exclusive or shared lock, then just unlock and don't play fast and loose with pretending that we have an exclusive lock will work -- it won't. To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/sys/kern/vfs_vnode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.