From: Howard Chu Date: Thu, 4 Jan 2007 03:26:54 +0000 (+0000) Subject: Fix prev commits... X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~265 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23a23390902027e263677ee09c015554ea362f35;p=openldap Fix prev commits... --- diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index c5572570d3..8030dba021 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -71,7 +71,8 @@ bdb_db_init( BackendDB *be ) #ifdef BDB_HIER ldap_pvt_thread_mutex_init( &bdb->bi_modrdns_mutex ); #endif - ldap_pvt_thread_mutex_init( &bdb->bi_cache.lru_mutex ); + ldap_pvt_thread_mutex_init( &bdb->bi_cache.lru_head_mutex ); + ldap_pvt_thread_mutex_init( &bdb->bi_cache.lru_tail_mutex ); ldap_pvt_thread_mutex_init( &bdb->bi_cache.c_count_mutex ); ldap_pvt_thread_mutex_init( &bdb->bi_cache.c_eifree_mutex ); ldap_pvt_thread_mutex_init( &bdb->bi_cache.c_dntree.bei_kids_mutex ); @@ -541,7 +542,8 @@ bdb_db_destroy( BackendDB *be ) bdb_attr_index_destroy( bdb ); ldap_pvt_thread_rdwr_destroy ( &bdb->bi_cache.c_rwlock ); - ldap_pvt_thread_mutex_destroy( &bdb->bi_cache.lru_mutex ); + ldap_pvt_thread_mutex_destroy( &bdb->bi_cache.lru_head_mutex ); + ldap_pvt_thread_mutex_destroy( &bdb->bi_cache.lru_tail_mutex ); ldap_pvt_thread_mutex_destroy( &bdb->bi_cache.c_count_mutex ); ldap_pvt_thread_mutex_destroy( &bdb->bi_cache.c_eifree_mutex ); ldap_pvt_thread_mutex_destroy( &bdb->bi_cache.c_dntree.bei_kids_mutex );