Skip to content

Commit

Permalink
Add missed relpbuf() for a smallfs page-in.
Browse files Browse the repository at this point in the history
Reported by:	Shawn Webb
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
kostikbel committed Dec 27, 2015
1 parent f846ec4 commit 6cbc48d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/vm/vnode_pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m, int count,
* than a page size, then use special small filesystem code.
*/
if (pagesperblock == 0) {
relpbuf(bp, freecnt);
for (i = 0; i < count; i++) {
PCPU_INC(cnt.v_vnodein);
PCPU_INC(cnt.v_vnodepgsin);
Expand Down

0 comments on commit 6cbc48d

Please sign in to comment.