mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix an inverted condition introduced in r353539.
This would have most likely resulted in read errors causing page leaks. Submitted by: jeff
This commit is contained in:
parent
eee07d30a0
commit
bf10551606
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ mappedread_sf(vnode_t *vp, int nbytes, uio_t *uio)
|
|||
vm_page_unlock(pp);
|
||||
}
|
||||
vm_page_sunbusy(pp);
|
||||
if (error != 0 && !vm_page_wired(pp) == 0 &&
|
||||
if (error != 0 && !vm_page_wired(pp) &&
|
||||
pp->valid == 0 && vm_page_tryxbusy(pp))
|
||||
vm_page_free(pp);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue