aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/umapfs
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-12-15 23:02:35 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-12-15 23:02:35 +0000
commit762e6b856c64ee48f286a7f0b45d0067e556b252 (patch)
treecf4d02d65f6e44871147fef3ce69de82368a30e5 /sys/miscfs/umapfs
parent0b994c2e87a9de9d7eb48152a943ca4c21a4f788 (diff)
Notes
Diffstat (limited to 'sys/miscfs/umapfs')
-rw-r--r--sys/miscfs/umapfs/umap_vfsops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c
index afa44f0c12a0..48894fe82162 100644
--- a/sys/miscfs/umapfs/umap_vfsops.c
+++ b/sys/miscfs/umapfs/umap_vfsops.c
@@ -52,6 +52,7 @@
#include <sys/namei.h>
#include <sys/malloc.h>
#include <miscfs/umapfs/umap.h>
+#include <vm/vm_zone.h>
static MALLOC_DEFINE(M_UMAPFSMNT, "UMAP mount", "UMAP mount structure");
@@ -129,6 +130,7 @@ umapfs_mount(mp, path, data, ndp, p)
error = namei(ndp);
if (error)
return (error);
+ NDFREE(ndp, NDF_ONLY_PNBUF);
/*
* Sanity check on lower vnode