summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-02-20 00:59:51 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:05 +0200
commitb72125f4fa34b6144e745587cf0b30a6580ee745 (patch)
tree194b157b9fd6525b5c13f5dbba1ced080f06510e /linux
parent0bc0998d4226ba46cd564e919b51bbb4e4d784d7 (diff)
2007-02-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
* linux/dev/glue/block.c (free_buffer): Fix vm_page_lock_queues/vm_page_unlock_queues pair.
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/glue/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c
index 275ad22..cf2a53c 100644
--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -339,7 +339,7 @@ free_buffer (void *p, int size)
queue_remove (&d->pages, m, vm_page_t, pageq);
vm_page_lock_queues ();
vm_page_free (m);
- vm_page_lock_queues ();
+ vm_page_unlock_queues ();
return;
}
}