Skip to content
Snippets Groups Projects
Commit 6729a2f0 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Fix bei_state access

parent 3ebce9ed
No related branches found
No related tags found
No related merge requests found
......@@ -1156,7 +1156,11 @@ gotit:
}
cx->depth--;
cx->op->o_tmpfree( save, cx->op->o_tmpmemctx );
if ( nokids ) ei->bei_state |= CACHE_ENTRY_NO_GRANDKIDS;
if ( nokids ) {
bdb_cache_entryinfo_lock( ei );
ei->bei_state |= CACHE_ENTRY_NO_GRANDKIDS;
bdb_cache_entryinfo_unlock( ei );
}
}
/* Make sure caller knows it had kids! */
cx->tmp[0]=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment