1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

vfs: add NAMEI_DBG_HADSTARTDIR handling lost in rewrite

Noted by:	rpokala
This commit is contained in:
Mateusz Guzik 2020-10-29 18:43:37 +00:00
parent b139a8fa79
commit 62568e886a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367144

View File

@ -507,6 +507,8 @@ namei(struct nameidata *ndp)
KASSERT(ndp->ni_debugflags == NAMEI_DBG_INITED,
("%s: bad debugflags %d", __func__, ndp->ni_debugflags));
ndp->ni_debugflags |= NAMEI_DBG_CALLED;
if (ndp->ni_startdir != NULL)
ndp->ni_debugflags |= NAMEI_DBG_HADSTARTDIR;
/*
* For NDVALIDATE.
*