From b72125f4fa34b6144e745587cf0b30a6580ee745 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 20 Feb 2007 00:59:51 +0000 Subject: 2007-02-20 Samuel Thibault * linux/dev/glue/block.c (free_buffer): Fix vm_page_lock_queues/vm_page_unlock_queues pair. --- ChangeLog | 3 +++ linux/dev/glue/block.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 * 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; } } -- cgit v1.2.3