1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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.
This commit is contained in:
Bruce Evans 1995-12-03 14:38:57 +00:00
parent 3ffece8c26
commit 2e52c1f9e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12594
4 changed files with 8 additions and 8 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */