Date: Thu, 29 Oct 2020 18:43:38 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367144 - head/sys/kern Message-ID: <202010291843.09TIhcUo047028@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Thu Oct 29 18:43:37 2020 New Revision: 367144 URL: https://svnweb.freebsd.org/changeset/base/367144 Log: vfs: add NAMEI_DBG_HADSTARTDIR handling lost in rewrite Noted by: rpokala Modified: head/sys/kern/vfs_lookup.c Modified: head/sys/kern/vfs_lookup.c ============================================================================== --- head/sys/kern/vfs_lookup.c Thu Oct 29 18:39:04 2020 (r367143) +++ head/sys/kern/vfs_lookup.c Thu Oct 29 18:43:37 2020 (r367144) @@ -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. *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010291843.09TIhcUo047028>