diff options
Diffstat (limited to 'erts/emulator/beam/external.c')
-rw-r--r-- | erts/emulator/beam/external.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index 88a0e4bff2..1c2f8f9843 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -667,11 +667,11 @@ erts_prepare_dist_ext(ErtsDistExternal *edep, edep->flags = 0; edep->dep = dep; - erts_smp_de_rlock(dep); + erts_de_rlock(dep); if ((dep->status & (ERTS_DE_SFLG_EXITING|ERTS_DE_SFLG_CONNECTED)) != ERTS_DE_SFLG_CONNECTED) { - erts_smp_de_runlock(dep); + erts_de_runlock(dep); return ERTS_PREP_DIST_EXT_CLOSED; } @@ -839,7 +839,7 @@ erts_prepare_dist_ext(ErtsDistExternal *edep, ERTS_EXT_FAIL; #endif - erts_smp_de_runlock(dep); + erts_de_runlock(dep); return ERTS_PREP_DIST_EXT_SUCCESS; @@ -861,7 +861,7 @@ erts_prepare_dist_ext(ErtsDistExternal *edep, erts_send_warning_to_logger_nogl(dsbufp); } fail: { - erts_smp_de_runlock(dep); + erts_de_runlock(dep); erts_kill_dist_connection(dep, *connection_id); } return ERTS_PREP_DIST_EXT_FAILED; |