summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog3
-rw-r--r--linux/dev/glue/block.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dee58ee..fa7fd7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
(db_i386_stack_trace): Check that adresses of known functions were
really found.
+ * linux/dev/glue/block.c (free_buffer): Fix
+ vm_page_lock_queues/vm_page_unlock_queues pair.
+
2007-02-19 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.am (gnumach_LINKFLAGS): New variable.
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;
}
}