diff options
author | jeff <jeff@FreeBSD.org> | 2002-09-25 02:42:43 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-09-25 02:42:43 +0000 |
commit | 76a1e2b647d38f81dd8f1568601975eb9dc6808b (patch) | |
tree | e97f5ff3887053e35e84a3fa4b9b2bcf5e8bcd63 /sys/isofs/cd9660/cd9660_node.c | |
parent | 65328ea561634bf0c99b8694cae5d0ed7bd40d33 (diff) | |
download | FreeBSD-src-76a1e2b647d38f81dd8f1568601975eb9dc6808b.zip FreeBSD-src-76a1e2b647d38f81dd8f1568601975eb9dc6808b.tar.gz |
- Use vrefcnt() instead of v_usecount.
Diffstat (limited to 'sys/isofs/cd9660/cd9660_node.c')
-rw-r--r-- | sys/isofs/cd9660/cd9660_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. |