Date: Mon, 26 Jan 2026 15:51:19 +0000 From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Konstantin Belousov <kib@FreeBSD.org> Subject: git: f0fbaa71a5a2 - stable/13 - namei: clear internal flags in NDREINIT() Message-ID: <69778d77.38fb3.1b3ca218@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f0fbaa71a5a2130ddfcccdd3e55ba1da0a809ba2 commit f0fbaa71a5a2130ddfcccdd3e55ba1da0a809ba2 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-05-28 21:51:42 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2026-01-26 15:49:51 +0000 namei: clear internal flags in NDREINIT() same as it is done for NDRESTART() Fixes: e05e33041c252 Reported and tested by: pho Reviewed by: markj Sponsored by: The FreeBSD Foundation (cherry picked from commit 58b2bd33aff71c0268d99d63e9c83f6544d3beb3) --- sys/sys/namei.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/namei.h b/sys/sys/namei.h index 053a64367ff9..8ae9f0d786d6 100644 --- a/sys/sys/namei.h +++ b/sys/sys/namei.h @@ -272,6 +272,7 @@ do { \ filecaps_free(&_ndp->ni_filecaps); \ _ndp->ni_resflags = 0; \ _ndp->ni_startdir = NULL; \ + _ndp->ni_cnd.cn_flags &= ~NAMEI_INTERNAL_FLAGS; \ } while (0) #define NDPREINIT(ndp) do { \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69778d77.38fb3.1b3ca218>
