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.
         *
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to