Date: Tue, 27 Jan 2026 19:16:40 +0000 From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 4586c4f50067 - releng/13.5 - namei: Remove a now-unused variable Message-ID: <69790f18.24543.648aae65@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch releng/13.5 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=4586c4f50067193f251d47938b266443d54a728d commit 4586c4f50067193f251d47938b266443d54a728d Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-05-23 15:35:05 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2026-01-27 16:55:52 +0000 namei: Remove a now-unused variable Approved by: so Reported by: bapt Fixes: 7587f6d4840f ("namei: Make stackable filesystems check harder for jail roots") (cherry picked from commit 14ec281a09d7818def2083ef0c3e28f8101f4268) (cherry picked from commit 4e31059f80d162a1f496f25ef297268d47614dd2) --- sys/kern/vfs_cache.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index 7f3a3c9532f1..211363bbc43b 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -5126,16 +5126,14 @@ static int __noinline cache_fplookup_dotdot(struct cache_fpl *fpl) { struct nameidata *ndp; - struct componentname *cnp; struct namecache *ncp; struct vnode *dvp; u_char nc_flag; ndp = fpl->ndp; - cnp = fpl->cnp; dvp = fpl->dvp; - MPASS(cache_fpl_isdotdot(cnp)); + MPASS(cache_fpl_isdotdot(fpl->cnp)); /* * XXX this is racy the same way regular lookup ishome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69790f18.24543.648aae65>
