Explicitly call pbrelvp()

This commit is contained in:
Poul-Henning Kamp 2004-11-15 08:06:05 +00:00
parent 492871f585
commit 676f3ee26c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137719
2 changed files with 3 additions and 0 deletions

View File

@ -556,6 +556,7 @@ cluster_callback(bp)
}
bufdone(tbp);
}
pbrelvp(bp);
relpbuf(bp, &cluster_pbuf_freecnt);
}

View File

@ -496,6 +496,7 @@ vnode_pager_input_smlfs(object, m)
/*
* free the buffer header back to the swap buffer pool
*/
pbrelvp(bp);
relpbuf(bp, &vnode_pbuf_freecnt);
if (error)
break;
@ -853,6 +854,7 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage)
/*
* free the buffer header back to the swap buffer pool
*/
pbrelvp(bp);
relpbuf(bp, &vnode_pbuf_freecnt);
VM_OBJECT_LOCK(object);