git: 256be6bf6c5d - stable/14 - namei: Fix cn_flags width in 9pfs

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 04 Jul 2025 13:28:59 UTC
The branch stable/14 has been updated by arrowd:

URL: https://cgit.FreeBSD.org/src/commit/?id=256be6bf6c5d62c60cf4b95ac84b3b6ac7db2e5a

commit 256be6bf6c5d62c60cf4b95ac84b3b6ac7db2e5a
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-05-27 13:29:14 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-07-04 13:28:07 +0000

    namei: Fix cn_flags width in 9pfs
    
    This truncation is mostly harmless today, but fix it anyway to avoid
    pain later down the road.
    
    Reviewed by:    olce, kib
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D50417
    
    (partially cherry picked from commit 0d224af399a66f00a5b33e5512fc018062cabf1d)
---
 sys/fs/p9fs/p9fs_vnops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/fs/p9fs/p9fs_vnops.c b/sys/fs/p9fs/p9fs_vnops.c
index cfb50c704019..56bf766ef801 100644
--- a/sys/fs/p9fs/p9fs_vnops.c
+++ b/sys/fs/p9fs/p9fs_vnops.c
@@ -222,9 +222,9 @@ p9fs_lookup(struct vop_lookup_args *ap)
 	struct p9fs_session *vses;
 	struct mount *mp; /* Get the mount point */
 	struct p9_fid *dvfid, *newfid;
+	uint64_t flags;
 	int error;
 	struct vattr vattr;
-	int flags;
 	char tmpchr;
 
 	dvp = ap->a_dvp;