Fix unresolved: prtactive

This commit is contained in:
gwr 1994-06-13 15:33:32 +00:00
parent 0784b58d30
commit 3247b5928d
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: @(#)nfs_node.c 8.2 (Berkeley) 12/30/93 * from: @(#)nfs_node.c 8.2 (Berkeley) 12/30/93
* $Id: nfs_node.c,v 1.9 1994/06/08 11:36:53 mycroft Exp $ * $Id: nfs_node.c,v 1.10 1994/06/13 15:33:32 gwr Exp $
*/ */
#include <sys/param.h> #include <sys/param.h>
@ -60,6 +60,8 @@ u_long nheadhash;
#define TRUE 1 #define TRUE 1
#define FALSE 0 #define FALSE 0
int prtactive;
/* /*
* Initialize hash links for nfsnodes * Initialize hash links for nfsnodes
* and build nfsnode free list. * and build nfsnode free list.
@ -163,7 +165,6 @@ nfs_inactive(ap)
register struct nfsnode *np; register struct nfsnode *np;
register struct sillyrename *sp; register struct sillyrename *sp;
struct proc *p = curproc; /* XXX */ struct proc *p = curproc; /* XXX */
extern int prtactive;
np = VTONFS(ap->a_vp); np = VTONFS(ap->a_vp);
if (prtactive && ap->a_vp->v_usecount != 0) if (prtactive && ap->a_vp->v_usecount != 0)
@ -199,7 +200,6 @@ nfs_reclaim(ap)
register struct nfsnode *np = VTONFS(vp); register struct nfsnode *np = VTONFS(vp);
register struct nfsmount *nmp = VFSTONFS(vp->v_mount); register struct nfsmount *nmp = VFSTONFS(vp->v_mount);
register struct nfsnode *nq; register struct nfsnode *nq;
extern int prtactive;
if (prtactive && vp->v_usecount != 0) if (prtactive && vp->v_usecount != 0)
vprint("nfs_reclaim: pushing active", vp); vprint("nfs_reclaim: pushing active", vp);