+ /* Must set lockinfo so that entry_release will work */
+ if (!opinfo) {
+ boi2 = &bois;
+ op->o_private = boi2;
+ bois.boi_bdb = op->o_bd;
+ bois.boi_txn = NULL;
+ bois.boi_locker = locker;
+ bois.boi_err = 0;
+ bois.boi_locks = &blis;
+ blis.bli_next = NULL;
+ bois.boi_flag = BOI_DONTFREE;
+ } else {
+ boi2 = opinfo;
+ blis.bli_next = boi2->boi_locks;
+ boi2->boi_locks = &blis;
+ }
+ blis.bli_id = e->e_id;
+ blis.bli_lock = lock;
+ blis.bli_flag = BLI_DONTFREE;
+
+ rs->sr_flags = REP_ENTRY_MUSTRELEASE;
+
+ send_search_reference( op, rs );
+
+ if ( blis.bli_flag ) {