Made this compile if UMAPFS_DIAGNOSTIC is defined. This has been broken

since before rev.1.1, so UMAPFS_DIAGNOSTIC should not be trusted.
UMAPFS_DIAGNOSTIC is commented out in LINT to hide various bugs.
This commit is contained in:
bde 1999-01-01 10:14:37 +00:00
parent 318efa92f4
commit 90744a1d3c
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@
*
* @(#)umap_subr.c 8.9 (Berkeley) 5/14/95
*
* $Id: umap_subr.c,v 1.14 1998/08/16 01:21:51 bde Exp $
* $Id: umap_subr.c,v 1.15 1998/11/09 09:21:25 peter Exp $
*/
#include <sys/param.h>
@ -259,7 +259,7 @@ umap_node_create(mp, targetvp, newvpp)
* Take another reference to the alias vnode
*/
#ifdef UMAPFS_DIAGNOSTIC
vprint("umap_node_create: exists", ap->umap_vnode);
vprint("umap_node_create: exists", aliasvp);
#endif
/* VREF(aliasvp); */
} else {

View File

@ -35,7 +35,7 @@
*
* @(#)umap_subr.c 8.9 (Berkeley) 5/14/95
*
* $Id: umap_subr.c,v 1.14 1998/08/16 01:21:51 bde Exp $
* $Id: umap_subr.c,v 1.15 1998/11/09 09:21:25 peter Exp $
*/
#include <sys/param.h>
@ -259,7 +259,7 @@ umap_node_create(mp, targetvp, newvpp)
* Take another reference to the alias vnode
*/
#ifdef UMAPFS_DIAGNOSTIC
vprint("umap_node_create: exists", ap->umap_vnode);
vprint("umap_node_create: exists", aliasvp);
#endif
/* VREF(aliasvp); */
} else {