git: 9b505845a3ae - main - unionfs: fix LINT build

From: Jason A. Harmening <jah_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 03:41:43 UTC
The branch main has been updated by jah:

URL: https://cgit.FreeBSD.org/src/commit/?id=9b505845a3aefd2ffaef77764aeca092653f0772

commit 9b505845a3aefd2ffaef77764aeca092653f0772
Author:     Jason A. Harmening <jah@FreeBSD.org>
AuthorDate: 2024-07-13 03:38:02 +0000
Commit:     Jason A. Harmening <jah@FreeBSD.org>
CommitDate: 2024-07-13 03:41:17 +0000

    unionfs: fix LINT build
    
    Fix a stale variable name that snuck into a tracepoint from an earlier
    version of the change.
    
    Fixes:          eb60ff1e "unionfs: rework locking scheme to only lock a single
    vnode"
    Reported by:    jenkins
---
 sys/fs/unionfs/union_subr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index e02dd547f249..b731c562f97d 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -1333,8 +1333,8 @@ unionfs_vn_create_on_upper(struct vnode **vpp, struct vnode *udvp,
 		goto unionfs_vn_create_on_upper_cleanup;
 	}
 	error = VOP_ADD_WRITECOUNT(uvp, 1);
-	CTR3(KTR_VFS, "%s: newvp %p v_writecount increased to %d",
-	    __func__, newvp, newvp->v_writecount);
+	CTR3(KTR_VFS, "%s: vp %p v_writecount increased to %d",
+	    __func__, uvp, uvp->v_writecount);
 	if (error == 0) {
 		*vpp = uvp;
 	} else {