diff options
author | bde <bde@FreeBSD.org> | 1995-12-03 14:38:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-03 14:38:57 +0000 |
commit | 1a0a9cf4f5008de06188ddc5eefe1b6e156a792b (patch) | |
tree | cbc9862490ec7b7f1b42cc6c895de2dff2f1a794 /sys/miscfs | |
parent | 9ca0b4c9b412d7dda977978385bde9c882ff3f80 (diff) | |
download | FreeBSD-src-1a0a9cf4f5008de06188ddc5eefe1b6e156a792b.zip FreeBSD-src-1a0a9cf4f5008de06188ddc5eefe1b6e156a792b.tar.gz |
null_node_find() and umap_node_find() were sometimes called without a
`struct mount *' arg. I don't know what the effects of this were.
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/nullfs/null_subr.c | 4 | ||||
-rw-r--r-- | sys/miscfs/umapfs/umap_subr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/nullfs/null_subr.c b/sys/miscfs/nullfs/null_subr.c index 8d18ffd..dc18d19 100644 --- a/sys/miscfs/nullfs/null_subr.c +++ b/sys/miscfs/nullfs/null_subr.c @@ -35,7 +35,7 @@ * * @(#)null_subr.c 8.4 (Berkeley) 1/21/94 * - * $Id: null_subr.c,v 1.2 1994/05/25 09:08:00 rgrimes Exp $ + * $Id: null_subr.c,v 1.3 1994/10/02 17:48:14 phk Exp $ */ #include <sys/param.h> @@ -168,7 +168,7 @@ null_node_alloc(mp, lowervp, vpp) * check to see if someone else has beaten us to it. * (We could have slept in MALLOC.) */ - othervp = null_node_find(lowervp); + othervp = null_node_find(mp, lowervp); if (othervp) { FREE(xp, M_TEMP); vp->v_type = VBAD; /* node is discarded */ diff --git a/sys/miscfs/umapfs/umap_subr.c b/sys/miscfs/umapfs/umap_subr.c index 792f4a8..da73487 100644 --- a/sys/miscfs/umapfs/umap_subr.c +++ b/sys/miscfs/umapfs/umap_subr.c @@ -35,7 +35,7 @@ * * @(#)umap_subr.c 8.6 (Berkeley) 1/26/94 * - * $Id: umap_subr.c,v 1.3 1994/10/10 07:55:43 phk Exp $ + * $Id: umap_subr.c,v 1.4 1995/05/30 08:07:17 rgrimes Exp $ */ #include <sys/param.h> @@ -228,7 +228,7 @@ umap_node_alloc(mp, lowervp, vpp) * check to see if someone else has beaten us to it. * (We could have slept in MALLOC.) */ - othervp = umap_node_find(lowervp); + othervp = umap_node_find(mp, lowervp); if (othervp) { FREE(xp, M_TEMP); vp->v_type = VBAD; /* node is discarded */ |