summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/glue/block.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c
index cf2a53c..48dba7d 100644
--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -337,9 +337,7 @@ free_buffer (void *p, int size)
if (m->phys_addr == (vm_offset_t) p)
{
queue_remove (&d->pages, m, vm_page_t, pageq);
- vm_page_lock_queues ();
- vm_page_free (m);
- vm_page_unlock_queues ();
+ VM_PAGE_FREE (m);
return;
}
}