diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-02-19 05:47:46 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-02-19 05:47:46 +0000 |
| commit | a163d034fadcfb4a25ca34a2ba5f491c47b6ff69 (patch) | |
| tree | 9e20e320fe15ae4bf68f8335fcf9d3e71d3b3614 /sys/fs/nullfs | |
| parent | 8f3e32c2b6b9f392e096f096653596f55f2134ae (diff) | |
Notes
Diffstat (limited to 'sys/fs/nullfs')
| -rw-r--r-- | sys/fs/nullfs/null_subr.c | 2 | ||||
| -rw-r--r-- | sys/fs/nullfs/null_vfsops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nullfs/null_subr.c b/sys/fs/nullfs/null_subr.c index 0285add677873..f2a43e0262644 100644 --- a/sys/fs/nullfs/null_subr.c +++ b/sys/fs/nullfs/null_subr.c @@ -212,7 +212,7 @@ null_nodeget(mp, lowervp, vpp) * elsewhere if MALLOC should block. */ MALLOC(xp, struct null_node *, sizeof(struct null_node), - M_NULLFSNODE, 0); + M_NULLFSNODE, M_WAITOK); error = getnewvnode("null", mp, null_vnodeop_p, &vp); if (error) { diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 20b187767d353..d6ca21115f6d7 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -158,7 +158,7 @@ nullfs_mount(mp, ndp, td) } xmp = (struct null_mount *) malloc(sizeof(struct null_mount), - M_NULLFSMNT, 0); /* XXX */ + M_NULLFSMNT, M_WAITOK); /* XXX */ /* * Save reference to underlying FS |
