git: 2013ad7490f2 - stable/14 - nullfs lookup: cn_flags is 64bit

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 25 May 2025 05:43:09 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=2013ad7490f2a80d3b3260d9811422bbd25a915e

commit 2013ad7490f2a80d3b3260d9811422bbd25a915e
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-17 05:37:48 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-05-25 05:42:46 +0000

    nullfs lookup: cn_flags is 64bit
    
    (cherry picked from commit 89549c2348170921cc4270ac95bfabfd78d42739)
---
 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 5daa302bedd1..f2c426d41f61 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -389,7 +389,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;
@@ -415,8 +415,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);
 	}