vfs: fix non-INVARIANTS build after 5b5b7e2ca2

Reported by:	gj
This commit is contained in:
Mateusz Guzik 2022-09-17 10:45:12 +00:00
parent aede6a9670
commit b77bdfdb67

View File

@ -76,10 +76,10 @@ __FBSDID("$FreeBSD$");
#ifdef INVARIANTS
static void NDVALIDATE_impl(struct nameidata *, int);
#endif
#define NDVALIDATE(ndp) NDVALIDATE_impl(ndp, __LINE__)
#else
#define NDVALIDATE(ndp)
#endif
SDT_PROVIDER_DEFINE(vfs);
SDT_PROBE_DEFINE4(vfs, namei, lookup, entry, "struct vnode *", "char *",