mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-13 22:48:05 +00:00
Use nocheck flagging on confchg iteration of handle ids.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1845 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
927921109c
commit
34583b8ef0
@ -315,7 +315,7 @@ static inline void app_confchg_fn (
|
||||
|
||||
for (i = 0; i <= totempg_max_handle; i++) {
|
||||
res = hdb_handle_get (&totempg_groups_instance_database,
|
||||
i, (void *)&instance);
|
||||
hdb_nocheck_convert (i), (void *)&instance);
|
||||
|
||||
if (res == 0) {
|
||||
if (instance->confchg_fn) {
|
||||
@ -330,7 +330,8 @@ static inline void app_confchg_fn (
|
||||
ring_id);
|
||||
}
|
||||
|
||||
hdb_handle_put (&totempg_groups_instance_database, i);
|
||||
hdb_handle_put (&totempg_groups_instance_database,
|
||||
hdb_nocheck_convert (i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user