From nobody Thu Nov 19 12:18:27 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jVcv73sr9z6w7ns for ; Thu, 19 Nov 2026 12:18:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jVcv71hLzz4FsM for ; Thu, 19 Nov 2026 12:18:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795090707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mrUu7S/TpGZ/YVpeXm+XIUKoZr1uvb8w/LlLQDZIqQg=; b=yqXU4Cx7JgpO6aJJGwGtrIHYf/1SX/v6quE0Le+ewiVFEWyyEc0KeeWbNu3OKhb4hRgyjA OfBvn5ZRZzPoNB4WOTvrIxur/siOkiLQspJ7IMMz2C84ea/cgCG3QBWB+uMq/58fucJ12Z jHebCuAxqen1FMh7DRKDaIkkxUtfT2hIvPIfw/v93p6PZfz25IWG80e7qwMgN/K7A+xnX+ toNcB9jaymfjDwb7D1Lkk8cyMk3QsSk/Kd6Q5A9nUs0tHHZ86W1wBavtUDcihmuK8SAGPu F+nicHfmiZNImBwRCscKFxlS0ZJoNDTbm3G1NrHzdJ+c/vIAu/NYnA/lLE3WOQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795090707; b=DbnEKwmMhwaWFuMY+kwPQzyPYerpAJlZA9s4Z4ik/zQg499V59KMbIgeLdOELrnnFOixA+ Mx8tJN+zqJG5DUZEeTsTz1y2bWuO43VdjVEafz7Nvbz0es2fqX5WNKglfizkv+EemCsoIi dLU5iWFXjFbUDZDLRbO3t60OumkbKqxukGf8e/Cui9Ibie9J6sdqp2m8rNNIuD2WCJb29Y XFH6zpuhf6fp0zLGVe2v0I6FgkO8cKXV32cwnfDNsdLiQisIv60BVQnIo1AkCU8ftFA+Vw GRupOslQRKPrZDnnHUBetDftH7UlggsCkuAX8qPrcDysfQYcSQ3z8ileji0AqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795090707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mrUu7S/TpGZ/YVpeXm+XIUKoZr1uvb8w/LlLQDZIqQg=; b=AhVIkPQJKUtOJpoby6CjXnk2Rs6SvvTsGX9roVr93nbxMDa8gB7MYkWneaZlZ4W825Kiua D9rp9mnEmXT3vlg3cvOTvZ0tyC//Z1+Roum9EG77gdHWMwPNAd+9YJ+l9PRVyZag0ylzKa rVRtEEly5DZt/MYz/WcHGv8d1CdPfLcWBpbbCGW6MBPuk+QQyVNnMrEPcg+qAIRZDYmZ3M GLQdAb5AZLSmFU56nVvKAGtwMg88DLK5uGl14i4ULBDWxfPakdj4BuOHOiaEJzUkG3Soud SDodLZCl/9SKlwzkWqg32NEt9hmktqr90qXgRMwj9AuaC+eFdIuXyjGirzFQ9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jVcv71DM4z114L for ; Thu, 19 Nov 2026 12:18:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 17051 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 19 Nov 2026 12:18:27 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 3541b0ee1ccd - main - ffs_bdflush(): remove an alias for devvp List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org List-Id: Commit messages for the main branch of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3541b0ee1ccde668e106a17a0f36d03e52afc0fb Auto-Submitted: auto-generated Date: Thu, 19 Nov 2026 12:18:27 +0000 Message-Id: <6afee913.17051.21c7843c@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=3541b0ee1ccde668e106a17a0f36d03e52afc0fb commit 3541b0ee1ccde668e106a17a0f36d03e52afc0fb Author: Konstantin Belousov AuthorDate: 2026-11-17 19:19:59 +0000 Commit: Konstantin Belousov CommitDate: 2026-11-19 12:17:46 +0000 ffs_bdflush(): remove an alias for devvp Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/ufs/ffs/ffs_snapshot.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c index c32033f5b28f..1a6e6b880822 100644 --- a/sys/ufs/ffs/ffs_snapshot.c +++ b/sys/ufs/ffs/ffs_snapshot.c @@ -2217,7 +2217,7 @@ ffs_devvp_bdflush_fsync(void *arg, int pending) void ffs_bdflush(struct bufobj *bo, struct buf *bp) { - struct vnode *vp, *devvp; + struct vnode *devvp; struct buf *nbp; struct ufsmount *ump; int bp_bdskip; @@ -2225,9 +2225,8 @@ ffs_bdflush(struct bufobj *bo, struct buf *bp) if (bo->bo_dirty.bv_cnt <= dirtybufthresh) return; - vp = bp->b_vp; devvp = bo2vnode(bo); - KASSERT(vp == devvp, ("devvp != vp %p %p", bo, bp)); + KASSERT(bp->b_vp == devvp, ("devvp != vp %p %p", bo, bp)); VI_LOCK(devvp); bp_bdskip = ffs_bp_snapblk(devvp, bp); @@ -2261,7 +2260,7 @@ ffs_bdflush(struct bufobj *bo, struct buf *bp) } if (bp_bdskip) { VI_LOCK(devvp); - if (!ffs_bp_snapblk(vp, nbp)) { + if (!ffs_bp_snapblk(devvp, nbp)) { VI_UNLOCK(devvp); BO_LOCK(bo); BUF_UNLOCK(nbp);