mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
A miss from r284310. vm_pager_get_pages() updates the array, so there is
no need for vm_page_lookup().
This commit is contained in:
parent
00f73819c2
commit
0fe299de4b
1 changed files with 0 additions and 3 deletions
|
|
@ -3175,9 +3175,6 @@ i915_gem_wire_page(vm_object_t object, vm_pindex_t pindex, bool *fresh)
|
|||
if (m->valid != VM_PAGE_BITS_ALL) {
|
||||
if (vm_pager_has_page(object, pindex, NULL, NULL)) {
|
||||
rv = vm_pager_get_pages(object, &m, 1, 0);
|
||||
m = vm_page_lookup(object, pindex);
|
||||
if (m == NULL)
|
||||
return (NULL);
|
||||
if (rv != VM_PAGER_OK) {
|
||||
vm_page_lock(m);
|
||||
vm_page_free(m);
|
||||
|
|
|
|||
Loading…
Reference in a new issue