git: 89549c234817 - main - nullfs lookup: cn_flags is 64bit

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 18 May 2025 09:23:44 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=89549c2348170921cc4270ac95bfabfd78d42739

commit 89549c2348170921cc4270ac95bfabfd78d42739
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-17 05:37:48 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-05-18 09:21:14 +0000

    nullfs lookup: cn_flags is 64bit
    
    Reviewed by:    olce
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D50390
---
 sys/fs/nullfs/null_vnops.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index bdf82432a2fb..a6b15c1dfa78 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -385,7 +385,7 @@ null_lookup(struct vop_lookup_args *ap)
 {
 	struct componentname *cnp = ap->a_cnp;
 	struct vnode *dvp = ap->a_dvp;
-	int flags = cnp->cn_flags;
+	uint64_t flags = cnp->cn_flags;
 	struct vnode *vp, *ldvp, *lvp;
 	struct mount *mp;
 	int error;
@@ -411,8 +411,8 @@ null_lookup(struct vop_lookup_args *ap)
 	 */
 	if ((ldvp->v_vflag & VV_ROOT) != 0 && (flags & ISDOTDOT) != 0) {
 		KASSERT((dvp->v_vflag & VV_ROOT) == 0,
-		    ("ldvp %p fl %#x dvp %p fl %#x flags %#x",
-		    ldvp, ldvp->v_vflag, dvp, dvp->v_vflag, flags));
+		    ("ldvp %p fl %#x dvp %p fl %#x flags %#jx",
+		    ldvp, ldvp->v_vflag, dvp, dvp->v_vflag, (uintmax_t)flags));
 		return (ENOENT);
 	}