Skip to content

Commit 6c41870

Browse files
committed
Merge 'sverker/erts/ets-member-locking/OTP-20152' into maint
PR-11115
2 parents 7fe1d95 + 582c865 commit 6c41870

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

erts/emulator/beam/erl_db_hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,8 +1524,8 @@ static int db_member_hash(DbTable *tbl, Eterm key, Eterm *ret)
15241524
erts_rwmtx_t* lck;
15251525

15261526
hval = MAKE_HASH(key);
1527-
ix = hash_to_ix(tb, hval);
15281527
lck = RLOCK_HASH(tb, hval);
1528+
ix = hash_to_ix(tb, hval);
15291529
b1 = BUCKET(tb, ix);
15301530

15311531
while(b1 != 0) {

0 commit comments

Comments
 (0)