From 76a1e2b647d38f81dd8f1568601975eb9dc6808b Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 25 Sep 2002 02:42:43 +0000 Subject: - Use vrefcnt() instead of v_usecount. --- sys/isofs/cd9660/cd9660_node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/isofs/cd9660') diff --git a/sys/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c index e837f76..44e60fa 100644 --- a/sys/isofs/cd9660/cd9660_node.c +++ b/sys/isofs/cd9660/cd9660_node.c @@ -182,7 +182,7 @@ cd9660_inactive(ap) register struct iso_node *ip = VTOI(vp); int error = 0; - if (prtactive && vp->v_usecount != 0) + if (prtactive && vrefcnt(vp) != 0) vprint("cd9660_inactive: pushing active", vp); ip->i_flag = 0; @@ -209,7 +209,7 @@ cd9660_reclaim(ap) register struct vnode *vp = ap->a_vp; register struct iso_node *ip = VTOI(vp); - if (prtactive && vp->v_usecount != 0) + if (prtactive && vrefcnt(vp) != 0) vprint("cd9660_reclaim: pushing active", vp); /* * Remove the inode from its hash chain. -- cgit v1.1