summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/nullfs/null_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/nullfs/null_vfsops.c')
-rw-r--r--sys/miscfs/nullfs/null_vfsops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/miscfs/nullfs/null_vfsops.c b/sys/miscfs/nullfs/null_vfsops.c
index e48a516..1bdc083 100644
--- a/sys/miscfs/nullfs/null_vfsops.c
+++ b/sys/miscfs/nullfs/null_vfsops.c
@@ -53,6 +53,7 @@
#include <sys/mount.h>
#include <sys/namei.h>
#include <miscfs/nullfs/null.h>
+#include <vm/vm_zone.h>
static MALLOC_DEFINE(M_NULLFSMNT, "NULLFS mount", "NULLFS mount structure");
@@ -137,6 +138,7 @@ nullfs_mount(mp, path, data, ndp, p)
if (error)
return (error);
+ NDFREE(ndp, NDF_ONLY_PNBUF);
/*
* Sanity check on lower vnode
OpenPOWER on IntegriCloud