mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue