Date: Fri, 23 May 2025 11:09:00 -0400 From: Ian FREISLICH <ianfreislich@gmail.com> To: freebsd-current@freebsd.org Subject: 7587f6d4840f8: /usr/src/sys/kern/vfs_cache.c:5276:24: error: variable 'cnp' set but not used Message-ID: <dcdf0f14-8459-4003-bf1c-f4952900f2ce@gmail.com>
index | next in thread | raw e-mail
Build kernel is broken by 7587f6d4840f8
Fix:
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index f2368877ec93..b4b50b4473d7 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -5273,13 +5273,11 @@ 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));
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dcdf0f14-8459-4003-bf1c-f4952900f2ce>
