]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/add.c
Change slapd/delete stats message for consistency.
[openldap] / servers / slapd / back-ldbm / add.c
index 052b23c6a911d5a0c646301c5645cfca038fa170..cdda78edb03242b51215b32e5c7a3f4955ca5537 100644 (file)
@@ -149,7 +149,7 @@ ldbm_back_add(
         * This should only fail if the entry already exists.
         */
 
-       if ( cache_add_entry_lock( &li->li_cache, e, ENTRY_STATE_CREATING ) != 0 ) {
+       if ( cache_add_entry( &li->li_cache, e, ENTRY_STATE_CREATING ) != 0 ) {
                if( p != NULL) {
                        /* free parent and writer lock */
                        cache_return_entry_w( &li->li_cache, p );