The branch stable/13 has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=19b91b15530d1ed0453ce073fb15d1f790ff85e4

commit 19b91b15530d1ed0453ce073fb15d1f790ff85e4
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2025-05-17 05:37:48 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2025-11-19 20:47:50 +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
    
    (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);
        }
 

Reply via email to