Add missed relpbuf() for a smallfs page-in.
Reported by: Shawn Webb Tested by: pho Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2747eff128
commit
ff64a90ed9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user