summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r--sys/fs/umapfs/umap_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c
index 4be0eb1..d3fed34 100644
--- a/sys/fs/umapfs/umap_subr.c
+++ b/sys/fs/umapfs/umap_subr.c
@@ -328,7 +328,7 @@ umap_checkvp(vp, fil, lno)
while (umap_checkvp_barrier) /*WAIT*/ ;
panic("umap_checkvp");
}
- if (a->umap_lowervp->v_usecount < 1) {
+ if (vrefcnt(a->umap_lowervp) < 1) {
int i; u_long *p;
printf("vp = %p, unref'ed lowervp\n", (void *)vp);
for (p = (u_long *) a, i = 0; i < 8; i++)
OpenPOWER on IntegriCloud