From: Howard Chu Date: Mon, 1 Jan 2007 01:07:57 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~286 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=37dfbd3e8b1d773cd654d3f1c76c08fcb9e6d551;p=openldap Fix prev commit --- diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index 77b816b1e8..4dc03f7b7b 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -605,7 +605,7 @@ bdb_cache_lru_purge( struct bdb_info *bdb ) /* If we can successfully writelock it, then * the object is idle. */ - if ( bdb_cache_entry_db_lock( bdb->bi_dbenv, + if ( bdb_cache_entry_db_lock( bdb, bdb->bi_cache.c_locker, elru, 1, 1, lockp ) == 0 ) { /* Free entry for this node if it's present */