]> git.sur5r.net Git - openldap/commitdiff
Fix misplaced unlock in prev commit
authorHoward Chu <hyc@openldap.org>
Sat, 3 Jul 2004 21:06:34 +0000 (21:06 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 3 Jul 2004 21:06:34 +0000 (21:06 +0000)
servers/slapd/back-bdb/cache.c

index 24d2a2edfd3f6d14c9475c0f1bdcd0b983b75bf9..8ef3bd89402966ca1f972235b51756a525cfbb8d 100644 (file)
@@ -687,9 +687,9 @@ again:      ldap_pvt_thread_rdwr_rlock( &bdb->bi_cache.c_rwlock );
 #endif
                                                        (*eip)->bei_e = ep;
                                                }
-                                               bdb_cache_entry_db_relock( bdb->bi_dbenv, locker,
-                                                       *eip, 0, 0, lock );
                                        }
+                                       bdb_cache_entry_db_relock( bdb->bi_dbenv, locker,
+                                               *eip, 0, 0, lock );
 #ifdef BDB_HIER
                                } else {
                                        /* Check for subtree renames