summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-15 08:06:05 +0000
committerphk <phk@FreeBSD.org>2004-11-15 08:06:05 +0000
commitf57555b632b3d6ce2e8b6557ef44bf7274b89a84 (patch)
tree2abf9a39608fdb7dd308ca3846938152e703c9ec
parent199df0cd61bf6e8340ac189a12a505e2d4793c8a (diff)
downloadFreeBSD-src-f57555b632b3d6ce2e8b6557ef44bf7274b89a84.zip
FreeBSD-src-f57555b632b3d6ce2e8b6557ef44bf7274b89a84.tar.gz
Explicitly call pbrelvp()
-rw-r--r--sys/kern/vfs_cluster.c1
-rw-r--r--sys/vm/vnode_pager.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index fa3ffee..58ca4c3 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -556,6 +556,7 @@ cluster_callback(bp)
}
bufdone(tbp);
}
+ pbrelvp(bp);
relpbuf(bp, &cluster_pbuf_freecnt);
}
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index c9634e0..32b06f1 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -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);
OpenPOWER on IntegriCloud