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:
Steven Dake 2009-03-12 16:15:34 +00:00
parent 927921109c
commit 34583b8ef0

View File

@ -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));
}
}
}