Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm amap_copy: remove stray amap_unlock().



details:   https://anonhg.NetBSD.org/src/rev/c21d3651de92
branches:  trunk
changeset: 542404:c21d3651de92
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Jan 27 22:14:48 2003 +0000

description:
amap_copy: remove stray amap_unlock().

diffstat:

 sys/uvm/uvm_amap.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 698dfcecdac0 -r c21d3651de92 sys/uvm/uvm_amap.c
--- a/sys/uvm/uvm_amap.c        Mon Jan 27 21:45:52 2003 +0000
+++ b/sys/uvm/uvm_amap.c        Mon Jan 27 22:14:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_amap.c,v 1.50 2003/01/18 09:42:57 thorpej Exp $    */
+/*     $NetBSD: uvm_amap.c,v 1.51 2003/01/27 22:14:48 pk Exp $ */
 
 /*
  *
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.50 2003/01/18 09:42:57 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.51 2003/01/27 22:14:48 pk Exp $");
 
 #undef UVM_AMAP_INLINE         /* enable/disable amap inlines */
 
@@ -813,7 +813,6 @@
        if (srcamap->am_ref == 1) {             /* take it over? */
                entry->etype &= ~UVM_ET_NEEDSCOPY;
                amap->am_ref--;         /* drop final reference to map */
-               amap_unlock(amap);
                amap_free(amap);        /* dispose of new (unused) amap */
                amap_unlock(srcamap);
                return;



Home | Main Index | Thread Index | Old Index