summaryrefslogtreecommitdiffstats
path: root/sys/vm/sg_pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/sg_pager.c')
-rw-r--r--sys/vm/sg_pager.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/sg_pager.c b/sys/vm/sg_pager.c
index 845401a..a7b3736 100644
--- a/sys/vm/sg_pager.c
+++ b/sys/vm/sg_pager.c
@@ -200,9 +200,7 @@ sg_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage)
/* Free the original pages and insert this fake page into the object. */
for (i = 0; i < count; i++) {
vm_page_lock(m[i]);
- vm_page_lock_queues();
vm_page_free(m[i]);
- vm_page_unlock_queues();
vm_page_unlock(m[i]);
}
vm_page_insert(page, object, offset);
OpenPOWER on IntegriCloud