diff options
| -rw-r--r-- | sys/sys/namei.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/namei.h b/sys/sys/namei.h index 5e9a5bf4a699..7033e5469240 100644 --- a/sys/sys/namei.h +++ b/sys/sys/namei.h @@ -265,6 +265,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 { \ |
