summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r--sys/fs/umapfs/umap_subr.c2
-rw-r--r--sys/fs/umapfs/umap_vfsops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c
index e33adb6..d3fed34 100644
--- a/sys/fs/umapfs/umap_subr.c
+++ b/sys/fs/umapfs/umap_subr.c
@@ -210,7 +210,7 @@ umap_node_alloc(mp, lowervp, vpp)
* elsewhere if MALLOC should block.
*/
MALLOC(xp, struct umap_node *, sizeof(struct umap_node),
- M_TEMP, 0);
+ M_TEMP, M_WAITOK);
error = getnewvnode("umap", mp, umap_vnodeop_p, vpp);
if (error) {
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c
index b148c73..c1ed751 100644
--- a/sys/fs/umapfs/umap_vfsops.c
+++ b/sys/fs/umapfs/umap_vfsops.c
@@ -155,7 +155,7 @@ umapfs_mount(mp, path, data, ndp, td)
#endif
amp = (struct umap_mount *) malloc(sizeof(struct umap_mount),
- M_UMAPFSMNT, 0); /* XXX */
+ M_UMAPFSMNT, M_WAITOK); /* XXX */
/*
* Save reference to underlying FS
OpenPOWER on IntegriCloud