]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/vm_swapfile_pager.c
xnu-1699.26.8.tar.gz
[apple/xnu.git] / osfmk / vm / vm_swapfile_pager.c
index db8943367a46ed17950ad18a01751d23685131f7..4739455df9b04aaf1f62ad73bfb6cfa1019ec4f5 100644 (file)
@@ -130,6 +130,7 @@ const struct memory_object_pager_ops swapfile_pager_ops = {
        swapfile_pager_synchronize,
        swapfile_pager_map,
        swapfile_pager_last_unmap,
+       NULL, /* data_reclaim */
        "swapfile pager"
 };
 
@@ -411,7 +412,7 @@ swapfile_pager_data_request(
                           kernel_mapping,
                           dst_pnum,
                           VM_PROT_READ | VM_PROT_WRITE,
-                          dst_object->wimg_bits & VM_WIMG_MASK,
+                          0,
                           TRUE);
 
                memset(dst_ptr, '\0', PAGE_SIZE);